-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