File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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
4416 | fn bad_in_ret_position(x: impl Into<u32>) -> impl Into<impl Debug> { x }
55 | ----------^^^^^^^^^^-
66 | | |
7- | | devilishly nested `impl Trait` here
7+ | | nested `impl Trait` here
88 | outer `impl Trait`
99
1010error[E0666]: nested `impl Trait` is not allowed
@@ -13,7 +13,7 @@ error[E0666]: nested `impl Trait` is not allowed
131319 | fn bad_in_fn_syntax(x: fn() -> impl Into<impl Debug>) {}
1414 | ----------^^^^^^^^^^-
1515 | | |
16- | | devilishly nested `impl Trait` here
16+ | | nested `impl Trait` here
1717 | outer `impl Trait`
1818
1919error[E0666]: nested `impl Trait` is not allowed
@@ -22,7 +22,7 @@ error[E0666]: nested `impl Trait` is not allowed
222223 | fn bad_in_arg_position(_: impl Into<impl Debug>) { }
2323 | ----------^^^^^^^^^^-
2424 | | |
25- | | devilishly nested `impl Trait` here
25+ | | nested `impl Trait` here
2626 | outer `impl Trait`
2727
2828error[E0666]: nested `impl Trait` is not allowed
@@ -31,7 +31,7 @@ error[E0666]: nested `impl Trait` is not allowed
313128 | fn bad(x: impl Into<u32>) -> impl Into<impl Debug> { x }
3232 | ----------^^^^^^^^^^-
3333 | | |
34- | | devilishly nested `impl Trait` here
34+ | | nested `impl Trait` here
3535 | outer `impl Trait`
3636
3737error[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