blob: 5dbecc4f0c5fa1ca937092b80d39cbb57de8282c (
plain)
1
2
3
4
5
6
7
8
|
error[E0423]: expected value, found trait `Bar`
--> $DIR/issue-33876.rs:20:22
|
20 | let any: &Any = &Bar; //~ ERROR expected value, found trait `Bar`
| ^^^ not a value
error: aborting due to previous error
|