rust/compiler/rustc_middle/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
..
dep_graph Update DepNode's size 2021-07-10 21:46:31 +08:00
hir Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
ich rename assert_matches module 2021-07-16 09:18:14 -07:00
infer
middle Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
mir miri: better ptr-out-of-bounds errors 2021-07-18 10:38:00 +02:00
query Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
traits Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
ty Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
util
arena.rs
lib.rs use NonZeroU64 for AllocId to restore old type sizes 2021-07-14 18:17:49 +02:00
lint.rs Rename force-warns to force-warn 2021-07-21 15:41:10 +02:00
macros.rs
tests.rs
thir.rs Add documentation for various THIR structs 2021-06-22 17:58:30 +02:00