2016-11-30 16:35:25 -06:00
|
|
|
error[E0423]: expected value, found trait `Bar`
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-33876.rs:20:22
|
|
|
|
|
|
|
|
|
20 | let any: &Any = &Bar; //~ ERROR expected value, found trait `Bar`
|
2016-11-30 16:35:25 -06:00
|
|
|
| ^^^ 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-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0423"
|