]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0423]: expected value, found trait `Bar` |
dc9dc135 | 2 | --> $DIR/issue-33876.rs:10:26 |
32a655c1 | 3 | | |
dc9dc135 XL |
4 | LL | let any: &dyn Any = &Bar; |
5 | | ^^^ not a value | |
32a655c1 | 6 | |
041b39d2 | 7 | error: aborting due to previous error |
32a655c1 | 8 | |
0531ce1d | 9 | For more information about this error, try `rustc --explain E0423`. |