Skip to content

Commit efd809e

Browse files
committed
update test stderrs to account for turbofish change (rust-lang#91997)
1 parent 9d1b2c4 commit efd809e

13 files changed

+16
-16
lines changed

tests/ui/associated-types/associated-types-incomplete-object.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LL | type B;
2525
| ------ `B` defined here
2626
...
2727
LL | let d = &42isize as &dyn Foo;
28-
| ^^^ help: specify the associated types: `Foo<A = Type, B = Type>`
28+
| ^^^ help: specify the associated types: `Foo::<A = Type, B = Type>`
2929

3030
error: aborting due to 3 previous errors
3131

tests/ui/associated-types/issue-22560.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ LL | type Test = dyn Add + Sub;
2525
|
2626
help: specify the associated types
2727
|
28-
LL | type Test = dyn Add<Output = Type> + Sub<Output = Type>;
29-
| ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
28+
LL | type Test = dyn Add::<Output = Type> + Sub::<Output = Type>;
29+
| ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
3030

3131
error[E0393]: the type parameter `Rhs` must be explicitly specified
3232
--> $DIR/issue-22560.rs:9:17

tests/ui/associated-types/issue-23595-1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | type Value;
66
LL | type ChildKey;
77
| ------------- `ChildKey` defined here
88
LL | type Children = dyn Index<Self::ChildKey, Output = dyn Hierarchy>;
9-
| ------------- `Children` defined here ^^^^^^^^^ help: specify the associated types: `Hierarchy<Value = Type, ChildKey = Type, Children = Type>`
9+
| ------------- `Children` defined here ^^^^^^^^^ help: specify the associated types: `Hierarchy::<Value = Type, ChildKey = Type, Children = Type>`
1010

1111
error: aborting due to 1 previous error
1212

tests/ui/error-codes/E0191.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | type Bar;
55
| -------- `Bar` defined here
66
...
77
LL | type Foo = dyn Trait;
8-
| ^^^^^ help: specify the associated type: `Trait<Bar = Type>`
8+
| ^^^^^ help: specify the associated type: `Trait::<Bar = Type>`
99

1010
error: aborting due to 1 previous error
1111

tests/ui/impl-trait/associated-type-cycle.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | type Bar;
55
| -------- `Bar` defined here
66
...
77
LL | impl Foo for Box<dyn Foo> {
8-
| ^^^ help: specify the associated type: `Foo<Bar = Type>`
8+
| ^^^ help: specify the associated type: `Foo::<Bar = Type>`
99

1010
error: aborting due to 1 previous error
1111

tests/ui/issues/issue-19482.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | type A;
55
| ------ `A` defined here
66
...
77
LL | fn bar(x: &dyn Foo) {}
8-
| ^^^ help: specify the associated type: `Foo<A = Type>`
8+
| ^^^ help: specify the associated type: `Foo::<A = Type>`
99

1010
error: aborting due to 1 previous error
1111

tests/ui/issues/issue-21950.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | type Output;
55
| ----------- `Output` defined here
66
...
77
LL | let x = &10 as &dyn Add;
8-
| ^^^ help: specify the associated type: `Add<Output = Type>`
8+
| ^^^ help: specify the associated type: `Add::<Output = Type>`
99

1010
error[E0393]: the type parameter `Rhs` must be explicitly specified
1111
--> $DIR/issue-21950.rs:10:25

tests/ui/issues/issue-22434.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | type A;
55
| ------ `A` defined here
66
...
77
LL | type I<'a> = &'a (dyn Foo + 'a);
8-
| ^^^ help: specify the associated type: `Foo<A = Type>`
8+
| ^^^ help: specify the associated type: `Foo::<A = Type>`
99

1010
error: aborting due to 1 previous error
1111

tests/ui/issues/issue-23024.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ error[E0191]: the value of the associated type `Output` in `FnOnce` must be spec
2323
--> $DIR/issue-23024.rs:8:39
2424
|
2525
LL | println!("{:?}",(vfnfer[0] as dyn Fn)(3));
26-
| ^^ help: specify the associated type: `Fn<Output = Type>`
26+
| ^^ help: specify the associated type: `Fn::<Output = Type>`
2727

2828
error: aborting due to 3 previous errors
2929

tests/ui/issues/issue-28344.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ error[E0191]: the value of the associated type `Output` in `BitXor` must be spec
1616
--> $DIR/issue-28344.rs:4:17
1717
|
1818
LL | let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
19-
| ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
19+
| ^^^^^^ help: specify the associated type: `BitXor::<Output = Type>`
2020

2121
error[E0599]: no function or associated item named `bitor` found for trait object `dyn BitXor<_>` in the current scope
2222
--> $DIR/issue-28344.rs:4:25
@@ -44,7 +44,7 @@ error[E0191]: the value of the associated type `Output` in `BitXor` must be spec
4444
--> $DIR/issue-28344.rs:10:13
4545
|
4646
LL | let g = BitXor::bitor;
47-
| ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
47+
| ^^^^^^ help: specify the associated type: `BitXor::<Output = Type>`
4848

4949
error[E0599]: no function or associated item named `bitor` found for trait object `dyn BitXor<_>` in the current scope
5050
--> $DIR/issue-28344.rs:10:21

0 commit comments

Comments
 (0)