parent
c886629d4f
commit
4f9e7babeb
@ -1,9 +1,8 @@
|
||||
// xfail-test
|
||||
fn main() {
|
||||
let foo = 100;
|
||||
|
||||
enum Stuff {
|
||||
Bar = foo
|
||||
Bar = foo //~ ERROR attempt to use a non-constant value in a constant
|
||||
}
|
||||
|
||||
log(error, Bar);
|
Loading…
x
Reference in New Issue
Block a user