about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-04-25 08:06:49 +0100
committerDavid Wood <david@davidtw.co>2019-04-25 08:06:49 +0100
commit8869bc5adade466e9eca01172dfd257f14ab3392 (patch)
treeb3295e30a83f60281b88919e1b65e27fae307a57 /src/rustllvm/RustWrapper.cpp
parent8a47e088458866b6dd8aa28acc9db1e9e22be997 (diff)
downloadrust-8869bc5adade466e9eca01172dfd257f14ab3392.tar.gz
rust-8869bc5adade466e9eca01172dfd257f14ab3392.zip
Do not suggest use over extern crate w/ alias.
This commit stops `unused_extern_crates` lints from occuring on `extern
crate` statements that alias the crate as the suggestion to change to a
`use` statement would result in the aliased name no longer being added
to the prelude, thereby causing compilation errors if other imports
expected this to be the case.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions