]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-33876.stderr
Auto merge of #101386 - aDotInTheVoid:rdj-discriminant, r=GuillaumeGomez
[rust.git] / src / test / 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`.