22
22
LL | struct Struct {}
23
23
| ---------------- not a trait
24
24
25
- error: Function not found in this trait
25
+ error: function not found in this trait
26
26
--> $DIR/rustc_must_implement_one_of_misuse.rs:3:31
27
27
|
28
28
LL | #[rustc_must_implement_one_of(a, b)]
29
29
| ^
30
30
31
- error: Function not found in this trait
31
+ error: function not found in this trait
32
32
--> $DIR/rustc_must_implement_one_of_misuse.rs:3:34
33
33
|
34
34
LL | #[rustc_must_implement_one_of(a, b)]
35
35
| ^
36
36
37
- error: Function not found in this trait
37
+ error: function not found in this trait
38
38
--> $DIR/rustc_must_implement_one_of_misuse.rs:8:34
39
39
|
40
40
LL | #[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
46
46
LL | #[rustc_must_implement_one_of(a)]
47
47
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
48
49
- error: Not a function
49
+ error: not a function
50
50
--> $DIR/rustc_must_implement_one_of_misuse.rs:26:5
51
51
|
52
52
LL | const A: u8 = 1;
@@ -57,9 +57,9 @@ note: required by this annotation
57
57
|
58
58
LL | #[rustc_must_implement_one_of(A, B)]
59
59
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
61
61
62
- error: Not a function
62
+ error: not a function
63
63
--> $DIR/rustc_must_implement_one_of_misuse.rs:28:5
64
64
|
65
65
LL | type B;
@@ -70,9 +70,9 @@ note: required by this annotation
70
70
|
71
71
LL | #[rustc_must_implement_one_of(A, B)]
72
72
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
74
74
75
- error: This function doesn't have a default implementation
75
+ error: function doesn't have a default implementation
76
76
--> $DIR/rustc_must_implement_one_of_misuse.rs:33:5
77
77
|
78
78
LL | fn a();
@@ -84,7 +84,7 @@ note: required by this annotation
84
84
LL | #[rustc_must_implement_one_of(a, b)]
85
85
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
86
87
- error: This function doesn't have a default implementation
87
+ error: function doesn't have a default implementation
88
88
--> $DIR/rustc_must_implement_one_of_misuse.rs:35:5
89
89
|
90
90
LL | fn b();
0 commit comments