Skip to content

Commit 0fe1ff2

Browse files
committed
sync with master
1 parent d2236b9 commit 0fe1ff2

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

tests/ui/parser/dyn-trait-compatibility.stderr

-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ error[E0433]: failed to resolve: use of undeclared crate or module `dyn`
44
LL | type A1 = dyn::dyn;
55
| ^^^ use of undeclared crate or module `dyn`
66

7-
error[E0433]: failed to resolve: use of undeclared crate or module `dyn`
8-
--> $DIR/dyn-trait-compatibility.rs:9:23
9-
|
10-
LL | type A3 = dyn<<dyn as dyn>::dyn>;
11-
| ^^^ use of undeclared crate or module `dyn`
12-
137
error[E0412]: cannot find type `dyn` in this scope
148
--> $DIR/dyn-trait-compatibility.rs:1:11
159
|

tests/ui/traits/associated_type_bound/assoc_type_bound_with_struct.stderr

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
error[E0433]: failed to resolve: use of undeclared type `Unresolved`
2-
--> $DIR/assoc_type_bound_with_struct.rs:19:31
3-
|
4-
LL | fn issue_95327() where <u8 as Unresolved>::Assoc: String {}
5-
| ^^^^^^^^^^ use of undeclared type `Unresolved`
6-
71
error[E0404]: expected trait, found struct `String`
82
--> $DIR/assoc_type_bound_with_struct.rs:5:46
93
|

tests/ui/ufcs/ufcs-partially-resolved.stderr

-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
error[E0433]: failed to resolve: `Y` is a variant, not a module
2-
--> $DIR/ufcs-partially-resolved.rs:48:22
3-
|
4-
LL | let _: <u8 as E::Y>::NN;
5-
| ^ `Y` is a variant, not a module
6-
7-
error[E0433]: failed to resolve: `Y` is a variant, not a module
8-
--> $DIR/ufcs-partially-resolved.rs:50:15
9-
|
10-
LL | <u8 as E::Y>::NN;
11-
| ^ `Y` is a variant, not a module
12-
131
error[E0576]: cannot find associated type `N` in trait `Tr`
142
--> $DIR/ufcs-partially-resolved.rs:19:24
153
|

0 commit comments

Comments
 (0)