fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
446 B15 linesraw
1error[E0404]: expected trait, found type alias `Foo`
2  --> $DIR/issue-3907.rs:11:6
3   |
4LL | impl Foo for S {
5   |      ^^^ type aliases cannot be used as traits
6   |
7   = note: did you mean to use a trait alias?
8help: possible better candidate is found in another module, you can import it into scope
9   |
10LL | use issue_3907::Foo;
11   |
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0404`.