Jacherr
b6d56c47f9
add no-rustfix since suggestions are invalid
2023-11-08 21:15:11 +00:00
Jacherr
67bb503f26
add support for std::alloc::Global, add more tests
2023-11-08 21:10:27 +00:00
Jacherr
79325604da
update testcases, cleanup
2023-11-08 18:42:58 +00:00
Alex Macleod
a2a31a0a2f
Ignore closures for some type lints
2023-09-14 21:20:50 +00:00
Oli Scherer
3d88fae050
Update ui test crate
2023-08-11 14:02:28 +00:00
Oli Scherer
def1705a27
Update to a compiletest-rs version that requires //@
for commands
2023-04-20 14:44:03 +00:00
Yoshitomo Nakanishi
494bc8a30c
Fix FN that types lints don't work with const or static
2021-03-26 20:19:34 +09:00
Cameron Steffen
7c74d870b5
Fix vec_box scope error
...
Fixes #6236
2020-10-30 13:09:27 -05:00
Mikhail Babenko
2b7bc260de
add size parameter for lint
2020-01-25 18:06:52 +03:00
Philipp Hansch
4aff8711f0
Fix ICE in vec_box lint and add run-rustfix
...
`hir::Ty` doesn't seem to know anything about type bounds and
`cx.tcx.type_of(def_id)` caused an ICE when it was passed a generic type
with a bound:
```
src/librustc_typeck/collect.rs:1311: unexpected non-type Node::GenericParam: Type { default: None, synthetic: None }
```
Converting it to a proper `Ty` fixes the ICE and catches a few more
places where the lint applies.
2019-02-01 18:18:45 +01:00
Matthias Krüger
38fabcbdf2
tests: fix formatting and update test output
...
fix script one last time™
2018-12-27 17:03:53 +01:00
Kampfkarren
ab070508be
Lint for Vec<Box<T: Sized>> - Closes #3530
2018-12-13 07:43:13 -08:00