Eric
|
884bec3d85
|
emit lints in check_crate_post for useless_vec
this fixes issue #11861 by adding an extra map to
keep track of which spans are ok to lint
|
2023-12-12 08:47:22 -08:00 |
|
Philipp Krones
|
d2b08432db
|
Merge remote-tracking branch 'upstream/master' into rustup
|
2023-09-07 21:43:06 +02:00 |
|
Urgau
|
a86e758228
|
Adjust clippy tests with new rustc help suggestion for lints
|
2023-09-04 14:22:02 +02:00 |
|
Mario Carneiro
|
4e0a3465d1
|
fix vec.rs test, comment
|
2023-09-04 06:35:51 +02:00 |
|
Mario Carneiro
|
61a2f972b3
|
skip todo / unimplemented in never_loop
|
2023-09-03 01:54:28 -04:00 |
|
Mario Carneiro
|
44f64acb7e
|
never_loop catches loop { panic!() }
|
2023-09-02 08:18:53 -04:00 |
|
Philipp Krones
|
cc61aeea54
|
Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup
|
2023-08-24 21:32:12 +02:00 |
|
Oli Scherer
|
3d88fae050
|
Update ui test crate
|
2023-08-11 14:02:28 +00:00 |
|
Philipp Krones
|
d6d530fd0b
|
Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup
|
2023-07-17 10:22:32 +02:00 |
|
y21
|
b4549c50b5
|
[useless_vec ]: add more tests for macro combinations
|
2023-07-03 19:48:27 +02:00 |
|
y21
|
1f77f8cc3c
|
[useless_vec ]: use the source span
|
2023-07-03 13:40:33 +02:00 |
|
Philipp Krones
|
cb3ecf7b79
|
Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup
|
2023-07-02 14:59:02 +02:00 |
|
y21
|
50ba459987
|
add- and fix existing tests
|
2023-06-12 16:04:34 +02:00 |
|
Alex Macleod
|
96697d2ee7
|
Fix useless_vec suggestion in for _ in vec![..]
|
2023-06-08 17:27:12 +00:00 |
|
y21
|
05f78e530a
|
allow the lint in a bunch of tests
|
2023-06-06 22:56:57 +02:00 |
|
flip1995
|
f6d1f368db
|
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
|
2021-04-08 17:50:13 +02:00 |
|
Horaci Macias
|
8a50923da4
|
consider mutability on useless_vec suggestions
https://github.com/rust-lang/rust-clippy/issues/7035
|
2021-04-06 11:09:52 +02:00 |
|
Philipp Hansch
|
38d4ac7cea
|
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
|
2019-01-08 21:46:39 +01:00 |
|
Philipp Hansch
|
319f18e54d
|
Add run-rustfix where it already passes
|
2019-01-04 11:22:38 +01:00 |
|
flip1995
|
d2dbd0b8a5
|
Update *.stderr files
|
2018-12-28 12:41:12 +01:00 |
|
Matthias Krüger
|
f1d5194e3d
|
tests: revert some changs and add further rustfmt::skip attributes.
|
2018-12-11 00:59:59 +01:00 |
|
Matthias Krüger
|
7bcc2cd9c8
|
update test stderr
|
2018-12-10 08:22:07 +01:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
flip1995
|
e9af09c274
|
Adapt the *.stderr files of the ui-tests to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
Oliver Schneider
|
4f21b5b112
|
Update changed ui tests
|
2018-01-17 14:44:40 +01:00 |
|
Oliver Schneider
|
50ffaca4c9
|
Reduce the hackiness of cargo-clippy
|
2017-10-03 12:07:24 +02:00 |
|
Oliver Schneider
|
74c776585c
|
Move all our tests back to ui tests
|
2017-08-01 17:54:21 +02:00 |
|
Oliver Schneider
|
4465bc3e3f
|
Make most tests an example so we can run them one by one
|
2017-05-17 14:19:44 +02:00 |
|
Luis de Bethencourt
|
45949c0da9
|
clean tests/ui/vec.rs
Cleaning the empty lines for clarity.
|
2017-05-11 16:22:32 +01:00 |
|
Oliver Schneider
|
a6c8464dde
|
Update to rustc 1.19.0-nightly ( 6a5fc9eec 2017-05-02)
|
2017-05-03 12:51:47 +02:00 |
|
Oliver Schneider
|
fd1351f6e3
|
rustup and compile-fail -> ui test move
|
2017-02-07 21:05:30 +01:00 |
|