rust/compiler/rustc_session/src
Yuki Okushi 99a6474bc4
Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix
Add flag to configure `large_assignments` lint

The `large_assignments` lints detects moves over specified limit.  The
limit is configured through `move_size_limit = "N"` attribute placed at
the root of a crate. When attribute is absent, the lint is disabled.

Make it possible to enable the lint without making any changes to the
source code, through a new flag `-Zmove-size-limit=N`.  For example, to
detect moves exceeding 1023 bytes in a cargo crate, including all
dependencies one could use:

```
$ env RUSTFLAGS=-Zmove-size-limit=1024 cargo build -vv
```

Lint tracking issue #83518.
2021-07-27 19:52:40 +09:00
..
cgu_reuse_tracker.rs
code_stats.rs
config.rs Auto merge of #83491 - jyn514:remove-pretty, r=pnkfelix 2021-07-27 03:12:40 +00:00
filesearch.rs
lib.rs Query-ify global limit attribute handling 2021-07-04 12:33:14 -05:00
options.rs Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
output.rs Use command line metadata path if provided 2021-05-28 22:24:24 -07:00
parse.rs add track_path::path fn for proc-macro usage 2021-07-02 07:13:19 +02:00
search_paths.rs
session.rs Rename known_attrs to expanded_inert_attrs and move to rustc_expand 2021-07-23 17:03:07 -05:00
utils.rs