mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
87540879f4
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |