summaryrefslogtreecommitdiffstats
path: root/tests/ui/object-safety/object-safety-by-value-self-use.stderr
blob: 94fdcdf263ae08843249df4f7d229f8c2181b64a (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`.