]> git.lizzy.rs Git - rust.git/blob - src/test/ui/object-safety/object-safety-by-value-self-use.stderr
move an `assert!` to the right place
[rust.git] / src / test / ui / object-safety / object-safety-by-value-self-use.stderr
1 error[E0161]: cannot move a value of type `dyn Bar`
2   --> $DIR/object-safety-by-value-self-use.rs:15:5
3    |
4 LL |     t.bar()
5    |     ^^^^^^^ the size of `dyn Bar` cannot be statically determined
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0161`.