forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ast: Revert a breaking attribute visiting order change
(cherry picked from commit 6e67eaa)
- Loading branch information
1 parent
d0b0474
commit 619e9ab
Showing
7 changed files
with
50 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:6:5 | ||
--> tests/ui/tabs_in_doc_comments.rs:10:9 | ||
| | ||
LL | /// - first one | ||
| ^^^^ help: consider using four spaces per tab | ||
LL | /// - First String: | ||
| ^^^^ help: consider using four spaces per tab | ||
| | ||
= note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings` | ||
= help: to override `-D warnings` add `#[allow(clippy::tabs_in_doc_comments)]` | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:6:13 | ||
--> tests/ui/tabs_in_doc_comments.rs:11:9 | ||
| | ||
LL | /// - first one | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
LL | /// - needs to be inside here | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:7:5 | ||
--> tests/ui/tabs_in_doc_comments.rs:14:9 | ||
| | ||
LL | /// - second one | ||
| ^^^^ help: consider using four spaces per tab | ||
LL | /// - Second String: | ||
| ^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:7:14 | ||
--> tests/ui/tabs_in_doc_comments.rs:15:9 | ||
| | ||
LL | /// - second one | ||
| ^^^^ help: consider using four spaces per tab | ||
LL | /// - needs to be inside here | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:10:9 | ||
--> tests/ui/tabs_in_doc_comments.rs:6:5 | ||
| | ||
LL | /// - First String: | ||
| ^^^^ help: consider using four spaces per tab | ||
LL | /// - first one | ||
| ^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:11:9 | ||
--> tests/ui/tabs_in_doc_comments.rs:6:13 | ||
| | ||
LL | /// - needs to be inside here | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
LL | /// - first one | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:14:9 | ||
--> tests/ui/tabs_in_doc_comments.rs:7:5 | ||
| | ||
LL | /// - Second String: | ||
| ^^^^ help: consider using four spaces per tab | ||
LL | /// - second one | ||
| ^^^^ help: consider using four spaces per tab | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> tests/ui/tabs_in_doc_comments.rs:15:9 | ||
--> tests/ui/tabs_in_doc_comments.rs:7:14 | ||
| | ||
LL | /// - needs to be inside here | ||
| ^^^^^^^^ help: consider using four spaces per tab | ||
LL | /// - second one | ||
| ^^^^ help: consider using four spaces per tab | ||
|
||
error: aborting due to 8 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters