rust/compiler/rustc_borrowck/src/diagnostics
Maybe Waffle ceabcd83e6 Remove useless check (drive-by cleanup)
While it might *seem* that this does something, it actually doesn't.
`mut_borrow_of_mutable_ref` returns a `bool` that is ignored by the
let-else. This was basically
```rust
if !self.body.local_decls.get(local).is_some() {
    return
}
```
Which is pretty useless
2023-04-19 19:10:25 +00:00
..
bound_region_errors.rs Use BoundTy and BoundRegion instead of kind of PlaceholderTy and PlaceholderRegion 2023-04-06 23:01:35 -04:00
conflict_errors.rs Remove useless check (drive-by cleanup) 2023-04-19 19:10:25 +00:00
explain_borrow.rs Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
find_all_local_uses.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
find_use.rs Remove ToRegionVid. 2023-04-13 12:20:41 +10:00
mod.rs Rollup merge of #104055 - AndyJado:bck_errors, r=davidtwco 2023-04-17 18:13:33 +02:00
move_errors.rs rm var_span_label to var_subdiag & eager subdiag 2023-04-13 09:43:46 +08:00
mutability_errors.rs Spelling - compiler 2023-04-17 16:09:18 -04:00
outlives_suggestion.rs Remove allow(potential_query_instability) from borrowck 2023-03-05 18:59:19 +00:00
region_errors.rs Use BoundTy and BoundRegion instead of kind of PlaceholderTy and PlaceholderRegion 2023-04-06 23:01:35 -04:00
region_name.rs Remove ToRegionVid. 2023-04-13 12:20:41 +10:00
var_name.rs Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00