summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/issue-56028-there-is-an-enum-variant.rs
blob: 264cfa449942c59d57010ef99562e657b2d08906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
}