summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr')
-rw-r--r--src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr b/src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr
new file mode 100644
index 000000000..355f2e805
--- /dev/null
+++ b/src/tools/clippy/tests/ui/tabs_in_doc_comments.stderr
@@ -0,0 +1,52 @@
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:12:9
+ |
+LL | /// - First String:
+ | ^^^^ help: consider using four spaces per tab
+ |
+ = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:13:9
+ |
+LL | /// - needs to be inside here
+ | ^^^^^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:16:9
+ |
+LL | /// - Second String:
+ | ^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:17:9
+ |
+LL | /// - needs to be inside here
+ | ^^^^^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:8:5
+ |
+LL | /// - first one
+ | ^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:8:13
+ |
+LL | /// - first one
+ | ^^^^^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:9:5
+ |
+LL | /// - second one
+ | ^^^^ help: consider using four spaces per tab
+
+error: using tabs in doc comments is not recommended
+ --> $DIR/tabs_in_doc_comments.rs:9:14
+ |
+LL | /// - second one
+ | ^^^^ help: consider using four spaces per tab
+
+error: aborting due to 8 previous errors
+