2222LL | struct Struct {}
2323 | ---------------- not a trait
2424
25- error: Function not found in this trait
25+ error: function not found in this trait
2626 --> $DIR/rustc_must_implement_one_of_misuse.rs:3:31
2727 |
2828LL | #[rustc_must_implement_one_of(a, b)]
2929 | ^
3030
31- error: Function not found in this trait
31+ error: function not found in this trait
3232 --> $DIR/rustc_must_implement_one_of_misuse.rs:3:34
3333 |
3434LL | #[rustc_must_implement_one_of(a, b)]
3535 | ^
3636
37- error: Function not found in this trait
37+ error: function not found in this trait
3838 --> $DIR/rustc_must_implement_one_of_misuse.rs:8:34
3939 |
4040LL | #[rustc_must_implement_one_of(a, b)]
@@ -46,7 +46,7 @@ error: the `#[rustc_must_implement_one_of]` attribute must be used with at least
4646LL | #[rustc_must_implement_one_of(a)]
4747 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4848
49- error: Not a function
49+ error: not a function
5050 --> $DIR/rustc_must_implement_one_of_misuse.rs:26:5
5151 |
5252LL | const A: u8 = 1;
@@ -57,9 +57,9 @@ note: required by this annotation
5757 |
5858LL | #[rustc_must_implement_one_of(A, B)]
5959 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60- = note: All `#[rustc_must_implement_one_of]` arguments must be associated function names
60+ = note: all `#[rustc_must_implement_one_of]` arguments must be associated function names
6161
62- error: Not a function
62+ error: not a function
6363 --> $DIR/rustc_must_implement_one_of_misuse.rs:28:5
6464 |
6565LL | type B;
@@ -70,9 +70,9 @@ note: required by this annotation
7070 |
7171LL | #[rustc_must_implement_one_of(A, B)]
7272 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73- = note: All `#[rustc_must_implement_one_of]` arguments must be associated function names
73+ = note: all `#[rustc_must_implement_one_of]` arguments must be associated function names
7474
75- error: This function doesn't have a default implementation
75+ error: function doesn't have a default implementation
7676 --> $DIR/rustc_must_implement_one_of_misuse.rs:33:5
7777 |
7878LL | fn a();
@@ -84,7 +84,7 @@ note: required by this annotation
8484LL | #[rustc_must_implement_one_of(a, b)]
8585 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8686
87- error: This function doesn't have a default implementation
87+ error: function doesn't have a default implementation
8888 --> $DIR/rustc_must_implement_one_of_misuse.rs:35:5
8989 |
9090LL | fn b();
0 commit comments