1 error[E0080]: could not evaluate static initializer
2 --> $DIR/ptr_arith.rs:9:14
5 | ^^^^^^ "pointer arithmetic or comparison" needs an rfc before being allowed inside constants
7 error[E0080]: could not evaluate static initializer
8 --> $DIR/ptr_arith.rs:16:14
11 | ^^^^^ cannot cast pointer to integer because it was not created by cast from integer
13 warning: skipping const checks
15 help: skipping check that does not even have a feature gate
16 --> $DIR/ptr_arith.rs:9:14
21 error: aborting due to 2 previous errors; 1 warning emitted
23 For more information about this error, try `rustc --explain E0080`.