about summary refs log tree commit diff
path: root/src/test/ui/async-await/large_moves.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-27/+0
2022-11-26Rewrite dest prop.Jakob Degen-0/+1
This fixes a number of correctness issues from the previous version. Additionally, we use a new strategy which has much better performance charactersitics and also finds more opportunities to apply the optimization.
2021-07-06Add flag to configure `large_assignments` lintTomasz Miąsko-1/+3
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-04-20Limit test to 64 bit systems to keep the sizes in the diagnostics stableOli Scherer-0/+1
2021-04-20TidyOli Scherer-1/+1
2021-04-20Add an attribute to be able to configure the limitOli Scherer-0/+2
2021-04-20Implement a lint that highlights all moves larger than 1000 bytesOli Scherer-0/+21