diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-12 13:48:47 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-12 13:51:16 +0100 |
| commit | e5c330ac48b9524e42d872c5ca0e231622d42bee (patch) | |
| tree | d6f8010f6d920fdd8462cb6afcc812fc32ca8a71 /compiler/rustc_mir_transform/src | |
| parent | ed086d86b8b224f7df2da09cf48ac2a654bf841e (diff) | |
| download | rust-e5c330ac48b9524e42d872c5ca0e231622d42bee.tar.gz rust-e5c330ac48b9524e42d872c5ca0e231622d42bee.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
