error[E0609]: no field `desc` on type `&str` | |
--> $DIR/issue-14721.rs:13:24 | |
| | |
LL | println!("{}", foo.desc); //~ no field `desc` on type `&str` | |
| ^^^^ | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0609`. |