fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
588 B18 linesraw
1error[E0380]: auto traits cannot have methods or associated items
2  --> $DIR/issue-23080-2.rs:5:1
3   |
4LL | / unsafe auto trait Trait {
5LL | |
6LL | |     type Output;
7LL | | }
8   | |_^
9
10error[E0275]: overflow evaluating the requirement `<() as Trait>::Output`
11   |
12   = note: required because of the requirements on the impl of `Trait` for `()`
13   = note: required because of the requirements on the impl of `Trait` for `()`
14
15error: aborting due to 2 previous errors
16
17Some errors have detailed explanations: E0275, E0380.
18For more information about an error, try `rustc --explain E0275`.