blob: 7be9ed27db0e375d6703576c41f7ed052c206d28 [file]
error[E0433]: cannot find type `E` in this scope
--> $DIR/non-ADT-struct-pattern-box-pattern-ice-121463.rs:6:17
|
LL | let mut a = E::StructVar { boxed: Box::new(5_i32) };
| ^ use of undeclared type `E`
|
help: a trait with a similar name exists
|
LL | let mut a = Eq::StructVar { boxed: Box::new(5_i32) };
| +
error[E0433]: cannot find type `E` in this scope
--> $DIR/non-ADT-struct-pattern-box-pattern-ice-121463.rs:9:9
|
LL | E::StructVar { box boxed } => { }
| ^ use of undeclared type `E`
|
help: a trait with a similar name exists
|
LL | Eq::StructVar { box boxed } => { }
| +
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.