1 error: associated type in `impl` without body
2 --> $DIR/impl-item-type-no-body-semantic-fail.rs:9:5
7 | help: provide a definition for the type: `= <type>;`
9 error: associated type in `impl` without body
10 --> $DIR/impl-item-type-no-body-semantic-fail.rs:12:5
15 | help: provide a definition for the type: `= <type>;`
17 error: bounds on `type`s in `impl`s have no effect
18 --> $DIR/impl-item-type-no-body-semantic-fail.rs:12:13
23 error: associated type in `impl` without body
24 --> $DIR/impl-item-type-no-body-semantic-fail.rs:16:5
26 LL | type W: Ord where Self: Eq;
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^-
29 | help: provide a definition for the type: `= <type>;`
31 error: bounds on `type`s in `impl`s have no effect
32 --> $DIR/impl-item-type-no-body-semantic-fail.rs:16:13
34 LL | type W: Ord where Self: Eq;
37 error: associated type in `impl` without body
38 --> $DIR/impl-item-type-no-body-semantic-fail.rs:20:5
40 LL | type W where Self: Eq;
41 | ^^^^^^^^^^^^^^^^^^^^^-
43 | help: provide a definition for the type: `= <type>;`
45 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
46 --> $DIR/impl-item-type-no-body-semantic-fail.rs:1:12
48 LL | #![feature(generic_associated_types)]
49 | ^^^^^^^^^^^^^^^^^^^^^^^^
51 = note: `#[warn(incomplete_features)]` on by default
52 = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
54 error[E0202]: associated types are not yet supported in inherent impls (see #8995)
55 --> $DIR/impl-item-type-no-body-semantic-fail.rs:9:5
60 error[E0202]: associated types are not yet supported in inherent impls (see #8995)
61 --> $DIR/impl-item-type-no-body-semantic-fail.rs:12:5
66 error[E0202]: associated types are not yet supported in inherent impls (see #8995)
67 --> $DIR/impl-item-type-no-body-semantic-fail.rs:16:5
69 LL | type W: Ord where Self: Eq;
70 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
72 error[E0202]: associated types are not yet supported in inherent impls (see #8995)
73 --> $DIR/impl-item-type-no-body-semantic-fail.rs:20:5
75 LL | type W where Self: Eq;
76 | ^^^^^^^^^^^^^^^^^^^^^^
78 error: aborting due to 10 previous errors; 1 warning emitted
80 For more information about this error, try `rustc --explain E0202`.