fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0658]: `const extern fn` definitions are unstable 2 --> $DIR/feature-gate-const_extern_fn.rs:3:15 3 | 4LL | #[cfg(FALSE)] const extern fn foo1() {} 5 | ^^^^^^^^^^^^ 6 | 7 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 8 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 9 10error[E0658]: `const extern fn` definitions are unstable 11 --> $DIR/feature-gate-const_extern_fn.rs:4:15 12 | 13LL | #[cfg(FALSE)] const extern "C" fn foo2() {} 14 | ^^^^^^^^^^^^ 15 | 16 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 17 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 18 19error[E0658]: `const extern fn` definitions are unstable 20 --> $DIR/feature-gate-const_extern_fn.rs:5:15 21 | 22LL | #[cfg(FALSE)] const extern "Rust" fn foo3() {} 23 | ^^^^^^^^^^^^ 24 | 25 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 26 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 27 28error[E0658]: `const extern fn` definitions are unstable 29 --> $DIR/feature-gate-const_extern_fn.rs:6:15 30 | 31LL | #[cfg(FALSE)] const unsafe extern fn bar1() {} 32 | ^^^^^^^^^^^^^^^^^^^ 33 | 34 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 35 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 36 37error[E0658]: `const extern fn` definitions are unstable 38 --> $DIR/feature-gate-const_extern_fn.rs:7:15 39 | 40LL | #[cfg(FALSE)] const unsafe extern "C" fn bar2() {} 41 | ^^^^^^^^^^^^^^^^^^^ 42 | 43 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 44 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 45 46error[E0658]: `const extern fn` definitions are unstable 47 --> $DIR/feature-gate-const_extern_fn.rs:9:15 48 | 49LL | #[cfg(FALSE)] const unsafe extern "Rust" fn bar3() {} 50 | ^^^^^^^^^^^^^^^^^^^ 51 | 52 = note: for more information, see https://github.com/rust-lang/rust/issues/64926 53 = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable 54 55error: aborting due to 6 previous errors 56 57For more information about this error, try `rustc --explain E0658`.