mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 02:53:20 +00:00
ec9ddc7b7a
And avoid duplicating logic for visiting `Item`s with different kinds (regular, associated, foreign).
53 lines
1.8 KiB
Text
53 lines
1.8 KiB
Text
error: using tabs in doc comments is not recommended
|
|
--> tests/ui/tabs_in_doc_comments.rs:6:5
|
|
|
|
|
LL | /// - first one
|
|
| ^^^^ 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
|
|
|
|
|
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:7:5
|
|
|
|
|
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:7:14
|
|
|
|
|
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:10:9
|
|
|
|
|
LL | /// - First String:
|
|
| ^^^^ 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
|
|
|
|
|
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:14:9
|
|
|
|
|
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:15:9
|
|
|
|
|
LL | /// - needs to be inside here
|
|
| ^^^^^^^^ help: consider using four spaces per tab
|
|
|
|
error: aborting due to 8 previous errors
|
|
|