]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/noncopyable-class.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / noncopyable-class.stderr
index 49ad30e56afd8bf3f37108e943c187e60c445e96..1876de87362755dc689927995a060dfe101301f4 100644 (file)
@@ -1,7 +1,7 @@
-error[E0599]: no method named `clone` found for type `foo` in the current scope
-  --> $DIR/noncopyable-class.rs:44:16
+error[E0599]: no method named `clone` found for type `Foo` in the current scope
+  --> $DIR/noncopyable-class.rs:34:16
    |
-LL | struct foo {
+LL | struct Foo {
    | ---------- method `clone` not found for this
 ...
 LL |     let _y = x.clone(); //~ ERROR no method named `clone` found