error[E0423]: expected value, found trait `Bar` | |
--> $DIR/issue-33876.rs:20:22 | |
| | |
LL | let any: &Any = &Bar; //~ ERROR expected value, found trait `Bar` | |
| ^^^ not a value | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0423`. |