rust/compiler/rustc_interface
Tomasz Miąsko 9792179648 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
```
2021-07-06 17:47:15 +02:00
..
src Add flag to configure large_assignments lint 2021-07-06 17:47:15 +02:00
Cargo.toml rustc_interface: Remove unused dependency rustc_index 2021-06-25 01:12:59 -07:00