about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-15 11:46:24 +0000
committerbors <bors@rust-lang.org>2022-07-15 11:46:24 +0000
commitc9f0d1aca7ba2afc3e83e6175de704a5500f3114 (patch)
tree8bd2e20552ae5c8f08dfbe02b8a181ddb230beda /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent0f5a38f2d6fa3f241ab4ce79f9c927659da7f208 (diff)
parent2f825db5789678965861e5109aa30b9b9e2a7b4c (diff)
downloadrust-c9f0d1aca7ba2afc3e83e6175de704a5500f3114.tar.gz
rust-c9f0d1aca7ba2afc3e83e6175de704a5500f3114.zip
Auto merge of #9103 - i509VCB:std-instead-of-core, r=Manishearth
Add `std_instead_of_core`, `std_instead_of_alloc`, `alloc_instead_of_core`

Closes #7724

Introduces 3 new lints:
- `std_instead_of_core` - lints items resolved through `std` which are available in `core`
- `std_instead_of_alloc` - lints items resolved through `std` which are available in `alloc`
- `alloc_instead_of_core` - lints items resolved through `alloc` which are available in `core`

Though the original issue only mentions `std_instead_of_alloc`, the other two lints could be useful as well.

questions:
- what do I call the file the lints live in? I was thinking `std_reexports`?

changelog: new lint's: [`std_instead_of_core`], [`std_instead_of_alloc`], [`alloc_instead_of_core`]
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions