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
743 B21 linesraw
1error[E0277]: the trait bound `impl std::future::Future: std::marker::Copy` is not satisfied
2  --> $DIR/issue-55872-2.rs:13:5
3   |
4LL |     type E = impl Copy;
5   |     ^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `impl std::future::Future`
6   |
7   = note: the return type of a function must have a statically known size
8
9error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
10  --> $DIR/issue-55872-2.rs:15:28
11   |
12LL |       fn foo<T>() -> Self::E {
13   |  ____________________________^
14LL | |
15LL | |         async {}
16LL | |     }
17   | |_____^
18
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0277`.