]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-variants.stderr
Auto merge of #65099 - pnkfelix:issue-63154-needed-more-normalize, r=nagisa
[rust.git] / src / test / ui / suggestions / suggest-variants.stderr
1 error: no variant `Squareee` in enum `Shape`
2   --> $DIR/suggest-variants.rs:12:41
3    |
4 LL | enum Shape {
5    | ---------- variant `Squareee` not found here
6 ...
7 LL |     println!("My shape is {:?}", Shape::Squareee { size: 5});
8    |                                         ^^^^^^^^ help: there is a variant with a similar name: `Square`
9
10 error: no variant `Circl` in enum `Shape`
11   --> $DIR/suggest-variants.rs:13:41
12    |
13 LL | enum Shape {
14    | ---------- variant `Circl` not found here
15 ...
16 LL |     println!("My shape is {:?}", Shape::Circl { size: 5});
17    |                                         ^^^^^ help: there is a variant with a similar name: `Circle`
18
19 error: no variant `Rombus` in enum `Shape`
20   --> $DIR/suggest-variants.rs:14:41
21    |
22 LL | enum Shape {
23    | ---------- variant `Rombus` not found here
24 ...
25 LL |     println!("My shape is {:?}", Shape::Rombus{ size: 5});
26    |                                         ^^^^^^ variant not found in `Shape`
27
28 error[E0599]: no variant or associated item named `Squareee` found for type `Shape` in the current scope
29   --> $DIR/suggest-variants.rs:15:12
30    |
31 LL | enum Shape {
32    | ---------- variant or associated item `Squareee` not found here
33 ...
34 LL |     Shape::Squareee;
35    |            ^^^^^^^^
36    |            |
37    |            variant or associated item not found in `Shape`
38    |            help: there is a variant with a similar name: `Square`
39
40 error[E0599]: no variant or associated item named `Circl` found for type `Shape` in the current scope
41   --> $DIR/suggest-variants.rs:16:12
42    |
43 LL | enum Shape {
44    | ---------- variant or associated item `Circl` not found here
45 ...
46 LL |     Shape::Circl;
47    |            ^^^^^
48    |            |
49    |            variant or associated item not found in `Shape`
50    |            help: there is a variant with a similar name: `Circle`
51
52 error[E0599]: no variant or associated item named `Rombus` found for type `Shape` in the current scope
53   --> $DIR/suggest-variants.rs:17:12
54    |
55 LL | enum Shape {
56    | ---------- variant or associated item `Rombus` not found here
57 ...
58 LL |     Shape::Rombus;
59    |            ^^^^^^ variant or associated item not found in `Shape`
60
61 error: aborting due to 6 previous errors
62
63 For more information about this error, try `rustc --explain E0599`.