|
| 1 | +error[E0658]: use of unstable library feature 'unstable' |
| 2 | + --> $DIR/unstable-const-stable.rs:7:5 |
| 3 | + | |
| 4 | +LL | some_unstable_fn(); |
| 5 | + | ^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: see issue #42 <https://github.com/rust-lang/rust/issues/42> for more information |
| 8 | + = help: add `#![feature(unstable)]` to the crate attributes to enable |
| 9 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 10 | + |
| 11 | +error[E0658]: use of unstable library feature 'unstable' |
| 12 | + --> $DIR/unstable-const-stable.rs:8:14 |
| 13 | + | |
| 14 | +LL | unsafe { write_bytes(4 as *mut u8, 0, 0) }; |
| 15 | + | ^^^^^^^^^^^ |
| 16 | + | |
| 17 | + = note: see issue #42 <https://github.com/rust-lang/rust/issues/42> for more information |
| 18 | + = help: add `#![feature(unstable)]` to the crate attributes to enable |
| 19 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 20 | + |
| 21 | +error[E0658]: use of unstable library feature 'unstable' |
| 22 | + --> $DIR/unstable-const-stable.rs:12:5 |
| 23 | + | |
| 24 | +LL | some_unstable_fn(); |
| 25 | + | ^^^^^^^^^^^^^^^^ |
| 26 | + | |
| 27 | + = note: see issue #42 <https://github.com/rust-lang/rust/issues/42> for more information |
| 28 | + = help: add `#![feature(unstable)]` to the crate attributes to enable |
| 29 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 30 | + |
| 31 | +error[E0658]: use of unstable library feature 'unstable' |
| 32 | + --> $DIR/unstable-const-stable.rs:13:14 |
| 33 | + | |
| 34 | +LL | unsafe { write_bytes(4 as *mut u8, 0, 0) }; |
| 35 | + | ^^^^^^^^^^^ |
| 36 | + | |
| 37 | + = note: see issue #42 <https://github.com/rust-lang/rust/issues/42> for more information |
| 38 | + = help: add `#![feature(unstable)]` to the crate attributes to enable |
| 39 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 40 | + |
| 41 | +error: aborting due to 4 previous errors |
| 42 | + |
| 43 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments