summary refs log tree commit diff
path: root/src/test/ui/issue-35976.stderr
blob: 9fb67449734bc6615ed592cd99f84d27c93d0d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
error: the `wait` method cannot be invoked on a trait object
  --> $DIR/issue-35976.rs:24:9
   |
24 |     arg.wait();
   |         ^^^^
   |
   = note: another candidate was found in the following trait, perhaps add a `use` for it:
           candidate #1: `use private::Future;`

error: aborting due to previous error