mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
7427812261
Mention Both HRTB and Generic Lifetime Param in `E0637` documentation The compiler (rustc 1.77.0) error for `and_without_explicit_lifetime()` in the erroneous code example suggests using a HRTB. But, the corrected example uses an explicit lifetime parameter. This PR fixes it so that the documentation and the compiler suggestion for error code `E0637` are consistent with each other. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |