Skip to content

Commit 54acbd9

Browse files
author
Andrew
committed
changed expected output in tests so it now passes with changed output
1 parent 4e9615d commit 54acbd9

5 files changed

+7
-7
lines changed

src/test/ui/traits/trait-alias/trait-alias-only-maybe-bound.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
error[E0224]: at least one non-builtin trait is required for an object type
1+
error[E0224]: at least one trait is required for an object type
22
--> $DIR/trait-alias-only-maybe-bound.rs:13:12
33
|
44
LL | type _T0 = dyn _1;
55
| ^^^^^^
66

7-
error[E0224]: at least one non-builtin trait is required for an object type
7+
error[E0224]: at least one trait is required for an object type
88
--> $DIR/trait-alias-only-maybe-bound.rs:19:12
99
|
1010
LL | type _T1 = dyn _2;

src/test/ui/traits/trait-object-macro-matcher.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0224]: at least one non-builtin trait is required for an object type
1+
error[E0224]: at least one trait is required for an object type
22
--> $DIR/trait-object-macro-matcher.rs:11:8
33
|
44
LL | m!(dyn 'static +);

src/test/ui/traits/trait-object-vs-lifetime-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0224]: at least one non-builtin trait is required for an object type
1+
error[E0224]: at least one trait is required for an object type
22
--> $DIR/trait-object-vs-lifetime-2.rs:7:5
33
|
44
LL | dyn 'static +: 'static + Copy,

src/test/ui/traits/trait-object-vs-lifetime.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: lifetime arguments must be declared prior to type arguments
44
LL | let _: S<dyn 'static +, 'static>;
55
| ^^^^^^^
66

7-
error[E0224]: at least one non-builtin trait is required for an object type
7+
error[E0224]: at least one trait is required for an object type
88
--> $DIR/trait-object-vs-lifetime.rs:9:23
99
|
1010
LL | let _: S<'static, dyn 'static +>;
@@ -22,7 +22,7 @@ error[E0107]: wrong number of type arguments: expected 1, found 0
2222
LL | let _: S<'static, 'static>;
2323
| ^^^^^^^^^^^^^^^^^^^ expected 1 type argument
2424

25-
error[E0224]: at least one non-builtin trait is required for an object type
25+
error[E0224]: at least one trait is required for an object type
2626
--> $DIR/trait-object-vs-lifetime.rs:14:14
2727
|
2828
LL | let _: S<dyn 'static +, 'static>;

src/test/ui/traits/wf-trait-object-only-maybe-bound.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: `?Trait` is not permitted in trait object types
44
LL | type _0 = dyn ?Sized;
55
| ^^^^^^
66

7-
error[E0224]: at least one non-builtin trait is required for an object type
7+
error[E0224]: at least one trait is required for an object type
88
--> $DIR/wf-trait-object-only-maybe-bound.rs:3:11
99
|
1010
LL | type _0 = dyn ?Sized;

0 commit comments

Comments
 (0)