summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-14721.rs
blob: a5c47dd8cb3d6921f991599f160692cdfcc7980f (plain)
1
2
3
4
fn main() {
    let foo = "str";
    println!("{}", foo.desc); //~ no field `desc` on type `&str`
}