1 error[E0015]: cannot call non-const fn `invalid` in constants
2 --> $DIR/issue-32829-2.rs:10:9
7 = note: calls in constants are limited to constant functions, tuple structs and tuple variants
9 error[E0015]: cannot call non-const fn `invalid` in statics
10 --> $DIR/issue-32829-2.rs:32:9
15 = note: calls in statics are limited to constant functions, tuple structs and tuple variants
17 error[E0015]: cannot call non-const fn `invalid` in statics
18 --> $DIR/issue-32829-2.rs:54:9
23 = note: calls in statics are limited to constant functions, tuple structs and tuple variants
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0015`.