Skip to content

Commit cce2c89

Browse files
committed
add .stderr file
1 parent 9d2a0b9 commit cce2c89

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/test/ui/issues/issue-57979.stderr

+17
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)