]> git.lizzy.rs Git - rust.git/commit
Give an error number for "borrowed data escapes outside of closure"
authorMatthew Jasper <mjjasper1@gmail.com>
Sun, 14 Oct 2018 13:53:10 +0000 (14:53 +0100)
committerMatthew Jasper <mjjasper1@gmail.com>
Sat, 20 Oct 2018 22:11:30 +0000 (23:11 +0100)
commit275432c1151d1c77afbaebaefa2379a76d1af051
tree62e6bb5469f09d7e84328b20b9351a3e07ae0628
parent049bee09e93919a986c9911c1ef944e467773a84
Give an error number for "borrowed data escapes outside of closure"
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/mod.rs
src/librustc_mir/diagnostics.rs
src/librustc_mir/util/borrowck_errors.rs
src/test/ui/borrowck/issue-45983.nll.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr