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
3391: kernel: sched: mlfq r=hudson-ayers a=bradjc
### Pull Request Overview
I updated the Rust compiler to a February 2023 nightly, and encountered build errors. Specifically:
```
error: impl method assumes more implied bounds than the corresponding trait method
--> kernel/src/scheduler/mlfq.rs:54:26
|
54 | fn next(&'a self) -> &'static ListLink<'a, MLFQProcessNode<'a>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this type to make the impl signature compatible: `&'a ListLink<'a, MLFQProcessNode<'a>>`
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #105572 <rust-lang/rust#105572>
= note: `#[deny(implied_bounds_entailment)]` on by default
```
This implements the proposed change.
We need to fix this before we will be able to update to a new nightly. However, this seemed perhaps more substantial that the typical fixes needed to update nightlies, so I thought it was worth making a dedicated PR.
### Testing Strategy
compiling
### TODO or Help Wanted
n/a
### Documentation Updated
- [x] Updated the relevant files in `/docs`, or no updates are required.
### Formatting
- [x] Ran `make prepush`.
Co-authored-by: Brad Campbell <[email protected]>
0 commit comments