]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/impl-item-type-no-body-semantic-fail.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / parser / impl-item-type-no-body-semantic-fail.stderr
1 error: associated type in `impl` without body
2 --> $DIR/impl-item-type-no-body-semantic-fail.rs:8:5
3 |
4 LL | type Y;
5 | ^^^^^^-
6 | |
7 | help: provide a definition for the type: `= <type>;`
8
9 error: associated type in `impl` without body
10 --> $DIR/impl-item-type-no-body-semantic-fail.rs:11:5
11 |
12 LL | type Z: Ord;
13 | ^^^^^^^^^^^-
14 | |
15 | help: provide a definition for the type: `= <type>;`
16
17 error: bounds on `type`s in `impl`s have no effect
18 --> $DIR/impl-item-type-no-body-semantic-fail.rs:11:13
19 |
20 LL | type Z: Ord;
21 | ^^^
22
23 error: associated type in `impl` without body
24 --> $DIR/impl-item-type-no-body-semantic-fail.rs:15:5
25 |
26 LL | type W: Ord where Self: Eq;
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^-
28 | |
29 | help: provide a definition for the type: `= <type>;`
30
31 error: bounds on `type`s in `impl`s have no effect
32 --> $DIR/impl-item-type-no-body-semantic-fail.rs:15:13
33 |
34 LL | type W: Ord where Self: Eq;
35 | ^^^
36
37 error: associated type in `impl` without body
38 --> $DIR/impl-item-type-no-body-semantic-fail.rs:19:5
39 |
40 LL | type W where Self: Eq;
41 | ^^^^^^^^^^^^^^^^^^^^^-
42 | |
43 | help: provide a definition for the type: `= <type>;`
44
45 error[E0658]: inherent associated types are unstable
46 --> $DIR/impl-item-type-no-body-semantic-fail.rs:8:5
47 |
48 LL | type Y;
49 | ^^^^^^^
50 |
51 = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
52 = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
53
54 error[E0658]: inherent associated types are unstable
55 --> $DIR/impl-item-type-no-body-semantic-fail.rs:11:5
56 |
57 LL | type Z: Ord;
58 | ^^^^^^^^^^^^
59 |
60 = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
61 = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
62
63 error[E0658]: inherent associated types are unstable
64 --> $DIR/impl-item-type-no-body-semantic-fail.rs:15:5
65 |
66 LL | type W: Ord where Self: Eq;
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
68 |
69 = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
70 = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
71
72 error[E0658]: inherent associated types are unstable
73 --> $DIR/impl-item-type-no-body-semantic-fail.rs:19:5
74 |
75 LL | type W where Self: Eq;
76 | ^^^^^^^^^^^^^^^^^^^^^^
77 |
78 = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
79 = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
80
81 error: aborting due to 10 previous errors
82
83 For more information about this error, try `rustc --explain E0658`.