diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-20 20:56:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-20 20:56:40 +0100 |
| commit | 87540879f451bd402bba072b4c5144db2031bc2f (patch) | |
| tree | 768767608f267a7510a222245ac1ba981f82a757 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | da5eebf9422cc0590257236d920452beaa4d6586 (diff) | |
| parent | e5c330ac48b9524e42d872c5ca0e231622d42bee (diff) | |
| download | rust-87540879f451bd402bba072b4c5144db2031bc2f.tar.gz rust-87540879f451bd402bba072b4c5144db2031bc2f.zip | |
Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, r=compiler-errors
Note about object lifetime defaults in does not live long enough error This is a aspect of Rust that frequently trips up people who are not aware of it yet. This diagnostic attempts to explain what's happening and why the lifetime constraint, that was never mentioned in the source, arose. The implementation feels a bit questionable, I'm not sure whether there are better ways to do this. There probably are. fixes #117835 r? types
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
