fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
702 B21 linesraw
1error[E0046]: not all trait items implemented, missing: `foo`, `bar`, `test`, `baz`
2  --> $DIR/suggest-missing-item.rs:21:1
3   |
4LL |     async fn foo();
5   |     --------------- `foo` from trait
6...
7LL |     async fn bar() -> i32;
8   |     ---------------------- `bar` from trait
9LL |
10LL |     fn test(&self) -> impl Sized + '_;
11   |     ---------------------------------- `test` from trait
12...
13LL |     async fn baz(&self) -> &i32;
14   |     ---------------------------- `baz` from trait
15...
16LL | impl Trait for S {}
17   | ^^^^^^^^^^^^^^^^ missing `foo`, `bar`, `test`, `baz` in implementation
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0046`.