about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-11-12 13:48:47 +0100
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-11-12 13:51:16 +0100
commite5c330ac48b9524e42d872c5ca0e231622d42bee (patch)
treed6f8010f6d920fdd8462cb6afcc812fc32ca8a71 /compiler/rustc_mir_transform/src
parented086d86b8b224f7df2da09cf48ac2a654bf841e (diff)
downloadrust-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