File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0666]: nested `impl Trait` is not allowed
4
4
16 | fn bad_in_ret_position(x: impl Into<u32>) -> impl Into<impl Debug> { x }
5
5
| ----------^^^^^^^^^^-
6
6
| | |
7
- | | devilishly nested `impl Trait` here
7
+ | | nested `impl Trait` here
8
8
| outer `impl Trait`
9
9
10
10
error[E0666]: nested `impl Trait` is not allowed
@@ -13,7 +13,7 @@ error[E0666]: nested `impl Trait` is not allowed
13
13
19 | fn bad_in_fn_syntax(x: fn() -> impl Into<impl Debug>) {}
14
14
| ----------^^^^^^^^^^-
15
15
| | |
16
- | | devilishly nested `impl Trait` here
16
+ | | nested `impl Trait` here
17
17
| outer `impl Trait`
18
18
19
19
error[E0666]: nested `impl Trait` is not allowed
@@ -22,7 +22,7 @@ error[E0666]: nested `impl Trait` is not allowed
22
22
23 | fn bad_in_arg_position(_: impl Into<impl Debug>) { }
23
23
| ----------^^^^^^^^^^-
24
24
| | |
25
- | | devilishly nested `impl Trait` here
25
+ | | nested `impl Trait` here
26
26
| outer `impl Trait`
27
27
28
28
error[E0666]: nested `impl Trait` is not allowed
@@ -31,7 +31,7 @@ error[E0666]: nested `impl Trait` is not allowed
31
31
28 | fn bad(x: impl Into<u32>) -> impl Into<impl Debug> { x }
32
32
| ----------^^^^^^^^^^-
33
33
| | |
34
- | | devilishly nested `impl Trait` here
34
+ | | nested `impl Trait` here
35
35
| outer `impl Trait`
36
36
37
37
error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
You can’t perform that action at this time.
0 commit comments