rust/tests/ui/resolve/issue-33876.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
276 B
Plaintext
Raw Normal View History

error[E0423]: expected value, found trait `Bar`
2019-05-28 13:46:13 -05:00
--> $DIR/issue-33876.rs:10:26
|
2019-05-28 13:46:13 -05:00
LL | let any: &dyn Any = &Bar;
| ^^^ not a value
error: aborting due to 1 previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0423`.