about summary refs log tree commit diff
path: root/tests/ui/slow_vector_initialization.stderr
AgeCommit message (Collapse)AuthorLines
2019-01-08Remove all copyright license headersPhilipp Hansch-7/+7
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-28Update *.stderr filesflip1995-14/+14
2018-12-03Remove unsafe_vector_initialization lintDavid Tolnay-33/+22
2018-12-01Keep testing unsafe_vector_initialization as ui testDavid Tolnay-25/+25
2018-11-25Lint only the first statment/expression after allocGuillem Nieto-6/+4
Instead of searching for all the successive expressions after a vector allocation, check only the first expression. This is done to minimize the amount of false positives of the lint.
2018-11-25Rename some symbolsGuillem Nieto-16/+16
Renamed some symbols in order to make them a little bit more accurate.
2018-11-25Split lint into slow and unsafe vector initalizationGuillem Nieto-66/+24
2018-11-25Add unsafe set_len initializationGuillem Nieto-36/+50
2018-11-25Add slow zero-filled vector initialization lintGuillem Nieto-0/+101
Add lint to detect slow zero-filled vector initialization. It detects when a vector is zero-filled with extended with `repeat(0).take(len)` or `resize(len, 0)`. This zero-fillings are usually slower than simply using `vec![0; len]`.