enum Test { one two three } fn main() { _ := Test('one') my_str := 'one' _ := Test(my_str) }