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