We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d2a0b9 commit cce2c89Copy full SHA for cce2c89
src/test/ui/issues/issue-57979.stderr
@@ -0,0 +1,17 @@
1
+error[E0666]: nested `impl Trait` is not allowed
2
+ --> $DIR/issue-57979.rs:39:61
3
+ |
4
+LL | pub fn collect(_: impl IntoIterator<Item = impl Borrow<Data<impl AsRef<[u8]>>>>) {
5
+ | -----------------^^^^^^^^^^^^^^^^--
6
+ | | |
7
+ | | nested `impl Trait` here
8
+ | outer `impl Trait`
9
+
10
+error[E0601]: `main` function not found in crate `issue_57979`
11
12
+ = note: consider adding a `main` function to `$DIR/issue-57979.rs`
13
14
+error: aborting due to 2 previous errors
15
16
+Some errors occurred: E0601, E0666.
17
+For more information about an error, try `rustc --explain E0601`.
0 commit comments