diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-30 15:04:08 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 15:04:08 +0200 | 
| commit | 7427812261469c52f7093722746c26b134d39bd0 (patch) | |
| tree | 4057a310dccf9e7db22321bb5b4c633ac230c1fe /compiler/rustc_middle/src/mir/coverage.rs | |
| parent | 47314eb427e1a9fb4f347cbeb44729486b6dbf53 (diff) | |
| parent | 26ed429bab12b71891defd0f8191d2b651164f4e (diff) | |
| download | rust-7427812261469c52f7093722746c26b134d39bd0.tar.gz rust-7427812261469c52f7093722746c26b134d39bd0.zip | |
Rollup merge of #123247 - veera-sivarajan:fix-error-code-E0637-example-code, r=fmease
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.
Diffstat (limited to 'compiler/rustc_middle/src/mir/coverage.rs')
0 files changed, 0 insertions, 0 deletions
