fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: no method named `clone` found for struct `Qux` in the current scope 2 --> $DIR/explicitly-unimplemented-error-message.rs:34:9 3 | 4LL | struct Qux; 5 | ---------- method `clone` not found for this struct 6... 7LL | Qux.clone(); 8 | ^^^^^ method not found in `Qux` 9 | 10 = help: items from traits can only be used if the trait is implemented and in scope 11 = note: the trait `Clone` defines an item `clone`, but is explicitly unimplemented 12 13error[E0599]: no method named `bar` found for type `u32` in the current scope 14 --> $DIR/explicitly-unimplemented-error-message.rs:39:11 15 | 16LL | 0_u32.bar(); 17 | ^^^ method not found in `u32` 18 | 19 = help: items from traits can only be used if the trait is implemented and in scope 20 = note: the trait `Bar` defines an item `bar`, but is explicitly unimplemented 21 22error[E0599]: no method named `foo` found for struct `Qux` in the current scope 23 --> $DIR/explicitly-unimplemented-error-message.rs:44:9 24 | 25LL | struct Qux; 26 | ---------- method `foo` not found for this struct 27... 28LL | Qux.foo(); 29 | ^^^ method not found in `Qux` 30 | 31 = help: items from traits can only be used if the trait is implemented and in scope 32 = note: the following traits define an item `foo`, but are explicitly unimplemented: 33 Foo 34 FooBar 35 36error[E0599]: no method named `foo` found for type `u32` in the current scope 37 --> $DIR/explicitly-unimplemented-error-message.rs:49:11 38 | 39LL | 0_u32.foo(); 40 | ^^^ method not found in `u32` 41 | 42 = help: items from traits can only be used if the trait is implemented and in scope 43note: `Foo` defines an item `foo`, perhaps you need to implement it 44 --> $DIR/explicitly-unimplemented-error-message.rs:18:1 45 | 46LL | trait Foo { 47 | ^^^^^^^^^ 48 = note: the trait `FooBar` defines an item `foo`, but is explicitly unimplemented 49 50error: aborting due to 4 previous errors 51 52For more information about this error, try `rustc --explain E0599`.