summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-35976.stderr
blob: fe16f97b9d0f5c54fc78895b4c9f609e2eb8e8af (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:14:9
   |
LL |         fn wait(&self) where Self: Sized;
   |                                    ----- this has a `Sized` requirement
...
LL |     arg.wait();
   |         ^^^^

error: aborting due to previous error