rust/tests/ui/did_you_mean/issue-56028-there-is-an-enum-variant.rs
2023-01-11 09:32:08 +00:00

16 lines
329 B
Rust

enum PutDown { Set }
enum AffixHeart { Set }
enum CauseToBe { Set }
enum Determine { Set }
enum TableDishesAction { Set }
enum Solidify { Set }
enum UnorderedCollection { Set }
fn setup() -> Set { Set }
//~^ ERROR cannot find type `Set` in this scope
//~| ERROR cannot find value `Set` in this scope
fn main() {
setup();
}