]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-41139.nll.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-41139.nll.stderr
1 error[E0161]: cannot move a value of type dyn Trait: the size of dyn Trait cannot be statically determined
2   --> $DIR/issue-41139.rs:6:23
3    |
4 LL |     let t : &Trait = &get_function()();
5    |                       ^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0161`.