summaryrefslogtreecommitdiffstats
path: root/tests/ui/object-safety/object-safety-by-value-self-use.stderr
blob: 17f4cb4d4a88c6cee256ef3bb7d905234c5ac2bc (plain)
1
2
3
4
5
6
7
8
9
error[E0161]: cannot move a value of type `dyn Bar`
  --> $DIR/object-safety-by-value-self-use.rs:15:5
   |
LL |     t.bar()
   |     ^ the size of `dyn Bar` cannot be statically determined

error: aborting due to previous error

For more information about this error, try `rustc --explain E0161`.