about summary refs log tree commit diff
path: root/src/test/ui/lint
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2022-11-10 19:01:33 -0800
committerEsteban Küber <esteban@kuber.com.ar>2022-11-10 19:01:33 -0800
commitf57713b010775afd4061a7bd03c8be3c90465e15 (patch)
treeb3fbb2c6df09b0ded0f80286001c616dcc8dac18 /src/test/ui/lint
parent8bd8484972ccfb4134c39b93c6ec68406bd1e63e (diff)
downloadrust-f57713b010775afd4061a7bd03c8be3c90465e15.tar.gz
rust-f57713b010775afd4061a7bd03c8be3c90465e15.zip
Fix tests after rebase
Diffstat (limited to 'src/test/ui/lint')
-rw-r--r--src/test/ui/lint/unused/unused-async.stderr2
-rw-r--r--src/test/ui/lint/unused/unused-supertrait.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/lint/unused/unused-async.stderr b/src/test/ui/lint/unused/unused-async.stderr
index abc49599309..4bcb26dc165 100644
--- a/src/test/ui/lint/unused/unused-async.stderr
+++ b/src/test/ui/lint/unused/unused-async.stderr
@@ -4,12 +4,12 @@ error: unused implementer of `Future` that must be used
 LL |     foo();
    |     ^^^^^
    |
+   = note: futures do nothing unless you `.await` or poll them
 note: the lint level is defined here
   --> $DIR/unused-async.rs:2:9
    |
 LL | #![deny(unused_must_use)]
    |         ^^^^^^^^^^^^^^^
-   = note: futures do nothing unless you `.await` or poll them
 
 error: unused return value of `foo` that must be used
   --> $DIR/unused-async.rs:31:5
diff --git a/src/test/ui/lint/unused/unused-supertrait.stderr b/src/test/ui/lint/unused/unused-supertrait.stderr
index d2f8c007848..cb45add9c2b 100644
--- a/src/test/ui/lint/unused/unused-supertrait.stderr
+++ b/src/test/ui/lint/unused/unused-supertrait.stderr
@@ -2,7 +2,7 @@ error: unused implementer of `Iterator` that must be used
   --> $DIR/unused-supertrait.rs:9:5
    |
 LL |     it();
-   |     ^^^^^
+   |     ^^^^
    |
    = note: iterators are lazy and do nothing unless consumed
 note: the lint level is defined here