fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0599]: no variant named `Squareee` found for enum `Shape` 2 --> $DIR/suggest-variants.rs:12:41 3 | 4LL | enum Shape { 5 | ---------- variant `Squareee` not found here 6... 7LL | println!("My shape is {:?}", Shape::Squareee { size: 5}); 8 | ^^^^^^^^ help: there is a variant with a similar name: `Square` 9 10error[E0599]: no variant named `Circl` found for enum `Shape` 11 --> $DIR/suggest-variants.rs:13:41 12 | 13LL | enum Shape { 14 | ---------- variant `Circl` not found here 15... 16LL | println!("My shape is {:?}", Shape::Circl { size: 5}); 17 | ^^^^^ help: there is a variant with a similar name: `Circle` 18 19error[E0599]: no variant named `Rombus` found for enum `Shape` 20 --> $DIR/suggest-variants.rs:14:41 21 | 22LL | enum Shape { 23 | ---------- variant `Rombus` not found here 24... 25LL | println!("My shape is {:?}", Shape::Rombus{ size: 5}); 26 | ^^^^^^ variant not found in `Shape` 27 28error[E0599]: no variant or associated item named `Squareee` found for enum `Shape` in the current scope 29 --> $DIR/suggest-variants.rs:15:12 30 | 31LL | enum Shape { 32 | ---------- variant or associated item `Squareee` not found here 33... 34LL | 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 40error[E0599]: no variant or associated item named `Circl` found for enum `Shape` in the current scope 41 --> $DIR/suggest-variants.rs:16:12 42 | 43LL | enum Shape { 44 | ---------- variant or associated item `Circl` not found here 45... 46LL | 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 52error[E0599]: no variant or associated item named `Rombus` found for enum `Shape` in the current scope 53 --> $DIR/suggest-variants.rs:17:12 54 | 55LL | enum Shape { 56 | ---------- variant or associated item `Rombus` not found here 57... 58LL | Shape::Rombus; 59 | ^^^^^^ variant or associated item not found in `Shape` 60 61error: aborting due to 6 previous errors 62 63For more information about this error, try `rustc --explain E0599`.