fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0658]: const generics are unstable 2 --> $DIR/feature-gate-const_generics-ptr.rs:1:22 3 | 4LL | struct ConstFn<const F: fn()>; 5 | ^ 6 | 7 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information 8 = help: add `#![feature(const_generics)]` to the crate attributes to enable 9 10error[E0658]: const generics are unstable 11 --> $DIR/feature-gate-const_generics-ptr.rs:5:23 12 | 13LL | struct ConstPtr<const P: *const u32>; 14 | ^ 15 | 16 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information 17 = help: add `#![feature(const_generics)]` to the crate attributes to enable 18 19error[E0658]: using function pointers as const generic parameters is unstable 20 --> $DIR/feature-gate-const_generics-ptr.rs:1:25 21 | 22LL | struct ConstFn<const F: fn()>; 23 | ^^^^ 24 | 25 = note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information 26 = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable 27 28error[E0658]: using raw pointers as const generic parameters is unstable 29 --> $DIR/feature-gate-const_generics-ptr.rs:5:26 30 | 31LL | struct ConstPtr<const P: *const u32>; 32 | ^^^^^^^^^^ 33 | 34 = note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information 35 = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable 36 37error: aborting due to 4 previous errors 38 39For more information about this error, try `rustc --explain E0658`.