Skip to content

Commit

Permalink
Fix tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Nov 11, 2022
1 parent 8bd8484 commit f57713b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/lint/unused/unused-async.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/lint/unused/unused-supertrait.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f57713b

Please sign in to comment.