Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wrap_comments] Backtick causes parsing error #3055

Closed
otavio opened this issue Sep 27, 2018 · 0 comments · Fixed by #3058
Closed

[wrap_comments] Backtick causes parsing error #3055

otavio opened this issue Sep 27, 2018 · 0 comments · Fixed by #3058
Labels
a-comments bug Panic, non-idempotency, invalid code, etc. only-with-option requires a non-default option value to reproduce

Comments

@otavio
Copy link
Contributor

otavio commented Sep 27, 2018

Using backtick inside a quoting block, even if marked as text, causes a parsing error.

Example:

/// Simple block
///
/// ```text
///  `
/// ```
fn main() {
    println!("Hello, world!");
}

It has been found while trying to reduce the test case for #3008. The use case is we did a small ASCII diagram and triggered a 101 return code, while led to this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-comments bug Panic, non-idempotency, invalid code, etc. only-with-option requires a non-default option value to reproduce
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants