Repository navigation
Closed
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.F-f16_and_f128`#![feature(f16)]`, `#![feature(f128)]``#![feature(f16)]`, `#![feature(f128)]`P-highHigh priorityHigh priorityS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Description
[INFO] [stdout] error[E0658]: the type `f16` is unstable
[INFO] [stdout] --> src/float.rs:5:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub use f16::*;
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: see issue #116909 <https://github.com/rust-lang/rust/issues/116909> for more information
Metadata
Metadata
Assignees
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.F-f16_and_f128`#![feature(f16)]`, `#![feature(f128)]``#![feature(f16)]`, `#![feature(f128)]`P-highHigh priorityHigh priorityS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Activity
[-]regression: f16 is unstable[/-][+]regression: f16 + f128 is unstable[/+]fmease commentedon Mar 31, 2024
cc @tgross35
Noratrieb commentedon Mar 31, 2024
MCVE:
Noratrieb commentedon Mar 31, 2024
It compiles if I add
#![feature(f16)]. Somehow feature gating and name resolution disagree whether it refers to the type or the module.also compiles
Noratrieb commentedon Mar 31, 2024
I think this was fixed recently? It reproduces on the playground nightly, but does not reproduce on the latest nightly and on master.
Noratrieb commentedon Mar 31, 2024
Ah no, I can reproduce it with cargo build, just not with rustc directly (?????????).
Noratrieb commentedon Mar 31, 2024
cc @petrochenkov @compiler-errors, it was probably regressed by e782d27
23 remaining items
tgross35 commentedon Apr 4, 2024
Ah I shouldn't have included a
fixes:tag, this needs to be reopened.Since the fix is small, I'll put up a beta PR with the cherry pick as long as that seems reasonable in favor of reverting.
Update f16 and f128 tests to run on both 2015 and 2018 editions
Fix f16 and f128 feature gates in editions other than 2015
tgross35 commentedon Apr 4, 2024
Up at #123445
fmease commentedon Apr 4, 2024
Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"
Squashed commit of the following:
Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"
Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"
tgross35 commentedon Apr 9, 2024
Well, now it can be closed again 😄 #123466 should hopefully fix this.
Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"
Put basic impls for f16 and f128 behind cfg(not(bootstrap))
Auto merge of #123390 - tgross35:f16-f128-libs-basic-impls-bootstrap,…