fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0046]: not all trait items implemented, missing: `foo`, `bar` 2 --> $DIR/missing-trait-item.rs:10:5 3 | 4LL | unsafe fn foo(a: &usize, b: &usize) -> usize; 5 | --------------------------------------------- `foo` from trait 6LL | fn bar(&self, a: &usize, b: &usize) -> usize; 7 | --------------------------------------------- `bar` from trait 8... 9LL | impl T for () {} 10 | ^^^^^^^^^^^^^ missing `foo`, `bar` in implementation 11 12error[E0046]: not all trait items implemented, missing: `foo`, `bar` 13 --> $DIR/missing-trait-item.rs:12:5 14 | 15LL | unsafe fn foo(a: &usize, b: &usize) -> usize; 16 | --------------------------------------------- `foo` from trait 17LL | fn bar(&self, a: &usize, b: &usize) -> usize; 18 | --------------------------------------------- `bar` from trait 19... 20LL | impl T for usize { 21 | ^^^^^^^^^^^^^^^^ missing `foo`, `bar` in implementation 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0046`.