mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
11 lines
294 B
Plaintext
11 lines
294 B
Plaintext
|
error[E0425]: unresolved name `Bar`
|
||
|
--> $DIR/issue-33876.rs:20:22
|
||
|
|
|
||
|
20 | let any: &Any = &Bar; //~ ERROR expected value, found trait `Bar`
|
||
|
| ^^^ unresolved name
|
||
|
|
|
||
|
= help: trait `Bar` cannot be used as an expression
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|