Closed
Description
[INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.10.0/src/private.rs:271:49
[INFO] [stdout] |
[INFO] [stdout] 271 | fn from_mut<T>(_r: &mut Self::Output<T>) -> Self::Output<&mut T> {}
[INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
[INFO] [stdout] | |
[INFO] [stdout] | the parameter type `T` must be valid for the anonymous lifetime defined here...
[INFO] [stdout] |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout] |
[INFO] [stdout] 271 | fn from_mut<'a, T: 'a>(_r: &'a mut Self::Output<T>) -> Self::Output<&'a mut T> {}
[INFO] [stdout] | +++ ++++ ++ ++
Metadata
Metadata
Assignees
Type
Projects
Status
done