]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-35976.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-35976.stderr
1 error: the `wait` method cannot be invoked on a trait object
2   --> $DIR/issue-35976.rs:14:9
3    |
4 LL |         fn wait(&self) where Self: Sized;
5    |                                    ----- this has a `Sized` requirement
6 ...
7 LL |     arg.wait();
8    |         ^^^^
9
10 error: aborting due to previous error
11