-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
When a tab appears between /// and ``` in documentation code examples:
///<tab>```
///<tab>println!("here");
///<tab>```
The doc tests fail with:
<stdin>:2:5: 2:6 error: unknown start of token: `
<stdin>:2 ```
^
thread '<unnamed>' panicked at 'Box<Any>', ../src/libsyntax/parse/lexer/mod.rs:167
The worst part is that this tab looks like a space when tabwidth is set to 4.
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.