blob: c015a6bab083bd8bc415b1f69b35cdd31ef56885 [file] [log] [blame] [edit]
fn main() {
let foo = "str";
println!("{}", foo.desc); //~ ERROR no field `desc` on type `&str`
}