Skip to content

Commit 0964955

Browse files
committed
Update ui tests
1 parent 9736d32 commit 0964955

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/ui/e0119/conflict-with-std.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0119]: conflicting implementations of trait `std::convert::AsRef<Q>` for type `std::boxed::Box<Q>`:
2-
--> $DIR/conflict-with-std.rs:6:1
2+
--> $DIR/conflict-with-std.rs:5:1
33
|
44
LL | impl AsRef<Q> for Box<Q> {
55
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -9,7 +9,7 @@ LL | impl AsRef<Q> for Box<Q> {
99
where T: ?Sized;
1010

1111
error[E0119]: conflicting implementations of trait `std::convert::From<S>` for type `S`:
12-
--> $DIR/conflict-with-std.rs:13:1
12+
--> $DIR/conflict-with-std.rs:12:1
1313
|
1414
LL | impl From<S> for S {
1515
| ^^^^^^^^^^^^^^^^^^
@@ -18,7 +18,7 @@ LL | impl From<S> for S {
1818
- impl<T> std::convert::From<T> for T;
1919

2020
error[E0119]: conflicting implementations of trait `std::convert::TryFrom<X>` for type `X`:
21-
--> $DIR/conflict-with-std.rs:20:1
21+
--> $DIR/conflict-with-std.rs:19:1
2222
|
2323
LL | impl TryFrom<X> for X {
2424
| ^^^^^^^^^^^^^^^^^^^^^

src/test/ui/mod-subitem-as-enum-variant.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0109]: type arguments are not allowed for this type
2-
--> $DIR/mod-subitem-as-enum-variant.rs:8:11
2+
--> $DIR/mod-subitem-as-enum-variant.rs:7:11
33
|
44
LL | Mod::<i32>::FakeVariant(0);
55
| ^^^ type argument not allowed

0 commit comments

Comments
 (0)