mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
e782d27ec6
Includes related tests and documentation pages. Michael Goulet: Don't issue feature error in resolver for f16/f128 unless finalize Co-authored-by: Michael Goulet <michael@errs.io>
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
error[E0658]: the type `f128` is unstable
|
|
--> $DIR/feature-gate-f128.rs:3:10
|
|
|
|
|
LL | const A: f128 = 10.0;
|
|
| ^^^^
|
|
|
|
|
= note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
|
|
= help: add `#![feature(f128)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the type `f128` is unstable
|
|
--> $DIR/feature-gate-f128.rs:6:12
|
|
|
|
|
LL | let a: f128 = 100.0;
|
|
| ^^^^
|
|
|
|
|
= note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
|
|
= help: add `#![feature(f128)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the type `f128` is unstable
|
|
--> $DIR/feature-gate-f128.rs:11:11
|
|
|
|
|
LL | fn foo(a: f128) {}
|
|
| ^^^^
|
|
|
|
|
= note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
|
|
= help: add `#![feature(f128)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the type `f128` is unstable
|
|
--> $DIR/feature-gate-f128.rs:14:8
|
|
|
|
|
LL | a: f128,
|
|
| ^^^^
|
|
|
|
|
= note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
|
|
= help: add `#![feature(f128)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the type `f128` is unstable
|
|
--> $DIR/feature-gate-f128.rs:7:13
|
|
|
|
|
LL | let b = 0.0f128;
|
|
| ^^^^^^^
|
|
|
|
|
= note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
|
|
= help: add `#![feature(f128)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|