-
Notifications
You must be signed in to change notification settings - Fork 0
chumsky-0.10.0: the parameter type T
may not live long enough
#194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
from-crater
A regression found via a crater run, not part of our test suite
Comments
T
may not live long enoughT
may not live long enough
Minimized: trait Mode {
type Output<T>;
fn from_mut<T>(_r: &mut Self::Output<T>) -> Self::Output<&mut T>;
}
struct Check;
impl Mode for Check {
type Output<T> = ();
fn from_mut<T>(_r: &mut Self::Output<T>) -> Self::Output<&mut T> {}
} |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
May 5, 2025
…r=lcnr Deeply normalize in the new solver in WF We need to deeply normalize types we check for well-formedness, since we only collect implied bounds from normalized signature types. Fixes rust-lang/trait-system-refactor-initiative#194 r? lcnr
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 6, 2025
Rollup merge of rust-lang#140672 - compiler-errors:deeply-normalize, r=lcnr Deeply normalize in the new solver in WF We need to deeply normalize types we check for well-formedness, since we only collect implied bounds from normalized signature types. Fixes rust-lang/trait-system-refactor-initiative#194 r? lcnr
fixed by rust-lang/rust#140672 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: