fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
871 B19 linesraw
1error[E0277]: the trait bound `f64: trait_bounds_on_structs_and_enums_xc::Trait` is not satisfied
2  --> $DIR/trait-bounds-on-structs-and-enums-xc1.rs:12:14
3   |
4LL |     let bar: Bar<f64> = return;
5   |              ^^^^^^^^ the trait `trait_bounds_on_structs_and_enums_xc::Trait` is not implemented for `f64`
6   |
7   = note: required by `trait_bounds_on_structs_and_enums_xc::Bar`
8
9error[E0277]: the trait bound `{integer}: trait_bounds_on_structs_and_enums_xc::Trait` is not satisfied
10  --> $DIR/trait-bounds-on-structs-and-enums-xc1.rs:8:15
11   |
12LL |     let foo = Foo {
13   |               ^^^ the trait `trait_bounds_on_structs_and_enums_xc::Trait` is not implemented for `{integer}`
14   |
15   = note: required by `trait_bounds_on_structs_and_enums_xc::Foo`
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0277`.