4 lines
106 B
Rust
4 lines
106 B
Rust
fn main() {
|
|
let foo = "str";
|
|
println!("{}", foo.desc); //~ ERROR no field `desc` on type `&str`
|
|
}
|