File tree 4 files changed +25
-3
lines changed
associated-inherent-types
4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,14 @@ error[E0223]: ambiguous associated type
33
33
--> $DIR/issue-109071.rs:15:22
34
34
|
35
35
LL | fn T() -> Option<Self::Item> {}
36
- | ^^^^^^^^^^ help: use fully-qualified syntax: `<Windows<T> as IntoIterator>::Item`
36
+ | ^^^^^^^^^^
37
+ |
38
+ help: use fully-qualified syntax
39
+ |
40
+ LL | fn T() -> Option<<Windows<T> as IntoAsyncIterator>::Item> {}
41
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
+ LL | fn T() -> Option<<Windows<T> as IntoIterator>::Item> {}
43
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
44
38
45
error: aborting due to 4 previous errors
39
46
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ error[E0658]: `for await` loops are experimental
4
4
LL | for await _i in core::async_iter::from_iter(0..3) {
5
5
| ^^^^^
6
6
|
7
+ = note: see issue #118898 <https://github.com/rust-lang/rust/issues/118898> for more information
7
8
= help: add `#![feature(async_for_loop)]` to the crate attributes to enable
8
9
9
10
error: aborting due to 1 previous error
Original file line number Diff line number Diff line change @@ -2,7 +2,14 @@ error[E0223]: ambiguous associated type
2
2
--> $DIR/suggest-trait-in-ufcs-in-hrtb.rs:5:38
3
3
|
4
4
LL | impl<S> Foo for Bar<S> where for<'a> <&'a S>::Item: Foo {}
5
- | ^^^^^^^^^^^^^ help: use fully-qualified syntax: `<&'a S as IntoIterator>::Item`
5
+ | ^^^^^^^^^^^^^
6
+ |
7
+ help: use fully-qualified syntax
8
+ |
9
+ LL | impl<S> Foo for Bar<S> where for<'a> <&'a S as IntoAsyncIterator>::Item: Foo {}
10
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
+ LL | impl<S> Foo for Bar<S> where for<'a> <&'a S as IntoIterator>::Item: Foo {}
12
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
13
7
14
error: aborting due to 1 previous error
8
15
Original file line number Diff line number Diff line change @@ -2,7 +2,14 @@ error[E0223]: ambiguous associated type
2
2
--> $DIR/issue-110052.rs:6:30
3
3
|
4
4
LL | for<'iter> dyn Validator<<&'iter I>::Item>:,
5
- | ^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<&'iter I as IntoIterator>::Item`
5
+ | ^^^^^^^^^^^^^^^^
6
+ |
7
+ help: use fully-qualified syntax
8
+ |
9
+ LL | for<'iter> dyn Validator<<&'iter I as IntoAsyncIterator>::Item>:,
10
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
+ LL | for<'iter> dyn Validator<<&'iter I as IntoIterator>::Item>:,
12
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
13
7
14
error: aborting due to 1 previous error
8
15
You can’t perform that action at this time.
0 commit comments