]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-41139.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-41139.stderr
1 error[E0161]: cannot move a value of type (dyn Trait + 'static): the size of (dyn Trait + 'static) 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`.