]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-33876.stderr
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-33876.stderr
1 error[E0423]: expected value, found trait `Bar`
2   --> $DIR/issue-33876.rs:10:26
3    |
4 LL |     let any: &dyn Any = &Bar;
5    |                          ^^^ not a value
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0423`.