Samuel Tardieu
315ea9590d
Do not propose to auto-derive Clone in presence of unsafe fields
...
`unsafe_fields` is an incomplete feature; comments have been put near
`#![expect(incomplete_features)]` to ensure that we revisit the
situation when the feature becomes complete.
2025-04-06 10:21:40 +02:00
Guillaume Gomez
1f94d55a18
Fix new tests updates
2025-02-15 13:38:42 +01:00
Guillaume Gomez
f666fd6417
Update UI tests
2025-02-15 13:38:16 +01:00
Lukas Lueg
7a80f7b790
Initial impl repr_packed_without_abi
...
Fixes #13375
2024-12-15 20:36:47 +01:00
Samuel Moelius
877585089e
Fix non-lifetime tests
2024-09-25 13:52:12 -04:00
Alex Macleod
b99921a5e8
Rename incorrect_impls to non_canonical_impls, move them to warn by default
2023-09-08 13:15:51 +00:00
Guillaume Gomez
a05d3a4137
Automatic generation of error annotations for ui tests
2023-08-22 17:18:11 +02:00
Centri3
844afbfeba
use other instead of self
2023-07-08 13:02:54 -05:00
Centri3
10cc1684ce
rename lint and disallow clone_from
2023-06-15 07:04:47 -05:00
Centri3
67d5e6ec39
add lint [needless_clone_impl]
...
Update needless_impls.rs
2023-06-15 07:04:36 -05:00
Alex Macleod
34024adc88
expl_impl_clone_on_copy: ignore packed structs with type/const params
2023-01-11 17:37:19 +00:00
Philipp Krones
f074034590
Merge remote-tracking branch 'upstream/master' into rustup
2022-07-15 09:49:15 +02:00
Ralf Jung
eee0bf459d
add array tests, cleanup, tidy, and bless
2022-07-13 18:31:29 -04:00
flip1995
f6d1f368db
Merge commit ' b40ea209e7' into clippyup
2021-04-08 17:50:13 +02:00
Jason Newcomb
879fa5c972
Improve expl_impl_clone_on_copy
...
Check to see if the generic constraints are the same as if using derive
2021-03-28 07:54:00 -04:00
Philipp Hansch
05aac0d8c1
UI test cleanup: Extract derive_hash_xor_eq tests
2019-10-28 07:34:29 +01: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
Matthias Krüger
435299be30
rustfmt tests
2018-12-09 23:26:16 +01:00
Oliver Scherer
b8654eaa6c
Stabilize tool lints
2018-10-11 12:16:22 +02:00
Manish Goregaokar
e9c025ea70
Add license header to Rust files
2018-10-06 09:43:08 -07:00
flip1995
1b6f6051a8
Adapt ui-tests to the tool_lints
2018-08-29 11:08:29 -07:00
Oliver Schneider
eafb9fe8df
Update test suite
2018-03-28 23:49:32 +02: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
e3aa074033
clean tests/ui/derive.rs
...
Cleaning the empty lines for clarity.
2017-05-11 16:22:32 +01:00
Oliver Schneider
1f2c97a291
remove all //~ from tests
2017-02-08 14:58:07 +01:00
Oliver Schneider
fd1351f6e3
rustup and compile-fail -> ui test move
2017-02-07 21:05:30 +01:00