1
Fork 0
rust/compiler/rustc_borrowck/src/diagnostics
Aaron Hill fdd8a0dde5
Don't suggest replacing region with 'static in NLL
Fixes #73159

This is similar to #69350 - if the user didn't initially
write out a 'static lifetime, adding 'static in response to
a lifetime error is usually the wrong thing to do.
2021-10-03 21:53:48 -05:00
..
bound_region_errors.rs More tracing instrumentation 2021-09-28 12:28:22 +00:00
conflict_errors.rs Auto merge of #87998 - nneonneo:master, r=oli-obk 2021-09-30 13:23:09 +00:00
explain_borrow.rs Improve cause information for NLL higher-ranked errors 2021-09-27 10:23:45 -05:00
find_use.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00
mod.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
move_errors.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
mutability_errors.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
outlives_suggestion.rs Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -05:00
region_errors.rs Remove DefId from ConstraintCategory::Predicate 2021-09-27 10:45:34 -05:00
region_name.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00
var_name.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00