rust/compiler/rustc_middle/src/middle
Yuki Okushi e109aa3613
Rollup merge of #83519 - oli-obk:assign_shrink_your_normal_code, r=pnkfelix
Implement a lint that highlights all moves larger than a configured limit

Tracking issue: #83518
[MCP 420](https://github.com/rust-lang/compiler-team/issues/420) still ~blazing~ in progress

r? ```@pnkfelix```

The main open issue I see with this minimal impl of the feature is that the lint is immediately "stable" (so it can be named on stable), even if it is never executed on stable. I don't think we have the concept of unstable lint names or hiding lint names without an active feature gate, so that would be a bigger change.
2021-04-25 01:53:09 +09:00
..
codegen_fn_attrs.rs Auto merge of #81234 - repnop:fn-alignment, r=lcnr 2021-04-06 04:35:26 +00:00
cstore.rs Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
dependency_format.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
exported_symbols.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lang_items.rs don't take TyCtxt by reference 2020-09-18 20:49:25 +02:00
limits.rs Add an attribute to be able to configure the limit 2021-04-20 09:30:28 -04:00
mod.rs Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
privacy.rs docs: Edit rustc_middle::middle::privacy 2020-12-21 20:05:05 -08:00
region.rs Remove closure_tree 2021-04-19 15:40:20 -05:00
resolve_lifetime.rs Add var to BoundRegion. Add query to get bound vars for applicable items. 2021-03-31 10:16:37 -04:00
stability.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00