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