rust/src/librustc_mir/util
bors 7714c430ae Auto merge of #54310 - pnkfelix:issue-52059-report-borrow-drop-conflict, r=nikomatsakis
Report when borrow could cause `&mut` aliasing during Drop

We were already issuing an error for the cases where this cropped up, so this is not fixing any soundness holes. The previous diagnostic just wasn't accurately describing the problem in the user's code.

Fix #52059
2018-09-23 04:06:15 +00:00
..
alignment.rs Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error} 2018-08-22 16:07:44 +01:00
borrowck_errors.rs Fine tune dianostics for when a borrow conflicts with a destructor that needs exclusive access. 2018-09-18 02:06:45 +02:00
collect_writes.rs Share code between gather_used_muts and find_assignments 2018-06-21 14:12:26 +02:00
def_use.rs MIR: s/lv(al(ue)?)?/place in function/variable/module names. 2017-12-01 18:48:57 +02:00
elaborate_drops.rs renamed mk_nil to mk_unit 2018-09-10 11:07:13 +09:00
graphviz.rs make field always private, add From impls 2018-09-07 11:37:46 -04:00
liveness.rs Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs. 2018-09-18 07:08:09 +10:00
mod.rs mv codemap() source_map() 2018-08-19 23:01:01 +02:00
patch.rs Improve readability in a few sorts 2018-07-25 12:13:02 +02:00
pretty.rs propagate user-ascribes types down onto resulting bindings 2018-09-10 10:58:31 -04:00