rust/compiler/rustc_session/src
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
..
cgu_reuse_tracker.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Rollup merge of #84436 - jyn514:private, r=petrochenkov 2021-04-24 12:17:04 +09:00
filesearch.rs fix review 2021-02-25 04:21:12 +03:00
lib.rs Move SanitizerSet to rustc_target 2021-04-03 00:37:49 +03:00
options.rs Track -C link-dead-code during incremental compilation 2021-04-15 15:05:26 -04:00
output.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
parse.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Add an attribute to be able to configure the limit 2021-04-20 09:30:28 -04:00
utils.rs Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00