Files
rust/compiler
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
..
2021-04-04 14:10:26 -07:00
2021-03-27 22:16:33 -04:00
2021-05-31 13:55:43 +02:00
2021-07-13 17:58:50 +09:00
2021-07-06 19:22:27 +02:00
2021-07-10 20:54:49 +08:00
2021-05-31 13:55:43 +02:00