rust/tests
Matthias Krüger 87540879f4
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
2023-11-20 20:56:40 +01:00
..
assembly
auxiliary
codegen
codegen-units
coverage
coverage-run-rustdoc
debuginfo
incremental
mir-opt Fix insertion of statements to be executed along return edge in inlining 2023-11-20 09:27:30 +01:00
pretty
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-gui
rustdoc-js rustdoc-search: fix accidental shared, mutable map 2023-11-17 18:22:31 -07:00
rustdoc-js-std
rustdoc-json
rustdoc-ui
ui Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, r=compiler-errors 2023-11-20 20:56:40 +01:00
ui-fulldeps
COMPILER_TESTS.md