]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/trait-bounds-on-structs-and-enums-xc1.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / traits / trait-bounds-on-structs-and-enums-xc1.stderr
1 error[E0277]: the trait bound `f64: Trait` is not satisfied
2 --> $DIR/trait-bounds-on-structs-and-enums-xc1.rs:12:14
3 |
4 LL | let bar: Bar<f64> = return;
5 | ^^^^^^^^ the trait `Trait` is not implemented for `f64`
6 |
7 ::: $DIR/auxiliary/trait_bounds_on_structs_and_enums_xc.rs:9:16
8 |
9 LL | pub enum Bar<T:Trait> {
10 | ----- required by this bound in `Bar`
11
12 error[E0277]: the trait bound `{integer}: Trait` is not satisfied
13 --> $DIR/trait-bounds-on-structs-and-enums-xc1.rs:8:15
14 |
15 LL | let foo = Foo {
16 | ^^^ the trait `Trait` is not implemented for `{integer}`
17 |
18 = note: required by `Foo`
19
20 error: aborting due to 2 previous errors
21
22 For more information about this error, try `rustc --explain E0277`.