You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this was related to the `x86_64` crate so I am providing a link to the corresponding lines:// https://github.com/rust-osdev/x86_64/blob/master/src/structures/paging/frame.rs#L18// https://github.com/rust-osdev/x86_64/blob/master/src/structures/paging/page.rs#L62// https://github.com/rust-osdev/x86_64/blob/master/src/structures/paging/page.rs#L150
I expected to see this happen:
The compilation should be completed successfully without any errors being emitted by the compiler.
Instead, this happened:
The compilation failed with several errors mentioning about the "const_fn_trait_bounds" feature:
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> <path redacted>\x86_64-0.14.0\src\structures\paging\frame.rs:18:6
|
18 | impl<S: PageSize> PhysFrame<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> <path redacted>\x86_64-0.14.0\src\structures\paging\page.rs:62:6
|
62 | impl<S: PageSize> Page<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> <path redacted>\x86_64-0.14.0\src\structures\paging\page.rs:150:6
|
150 | impl<S: NotGiantPageSize> Page<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error: aborting due to 3 previous errors
Version it worked on
It most recently worked on (taken from the x86_64 crate's GitHub CI):
rustbot
added
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
regression-untriaged
Untriaged performance or correctness regression.
labels
May 6, 2021
Code
I tried this code:
I expected to see this happen:
The compilation should be completed successfully without any errors being emitted by the compiler.
Instead, this happened:
The compilation failed with several errors mentioning about the "const_fn_trait_bounds" feature:
Version it worked on
It most recently worked on (taken from the x86_64 crate's GitHub CI):
rustc --version --verbose
Version with regression
rustc --version --verbose
:Backtrace
Backtrace
@rustbot modify labels: +regression-from-nightly-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: