Skip to content

Commit b4a3886

Browse files
committed
Update ui test suite to nightly-2023-11-20
1 parent 5f04108 commit b4a3886

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/ui/must-use.stderr

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
error: unused return value of `Interface::f` that must be used
1+
error: unused pinned boxed `Future` trait object that must be used
22
--> tests/ui/must-use.rs:18:5
33
|
44
18 | Thing.f();
55
| ^^^^^^^^^
66
|
7+
= note: futures do nothing unless you `.await` or poll them
78
note: the lint level is defined here
89
--> tests/ui/must-use.rs:1:9
910
|
1011
1 | #![deny(unused_must_use)]
1112
| ^^^^^^^^^^^^^^^
13+
14+
error: unused return value of `Interface::f` that must be used
15+
--> tests/ui/must-use.rs:18:5
16+
|
17+
18 | Thing.f();
18+
| ^^^^^^^^^
19+
|
1220
help: use `let _ = ...` to ignore the resulting value
1321
|
1422
18 | let _ = Thing.f();

0 commit comments

Comments
 (0)