about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-19 12:16:50 +0000
committerbors <bors@rust-lang.org>2018-05-19 12:16:50 +0000
commitef8ee647749ad2f0acf235aaf18debacb974a048 (patch)
treebdd3be45c4dac19d76ea672a8d91cbe41ed17a96 /src/rustllvm/RustWrapper.cpp
parentc95e1cccc9c248789230a54ecfd87971a04d5c0c (diff)
parentd1b027421edb0c559ed0840174b83dfa3bcab7ce (diff)
downloadrust-ef8ee647749ad2f0acf235aaf18debacb974a048.tar.gz
rust-ef8ee647749ad2f0acf235aaf18debacb974a048.zip
Auto merge of #50760 - petrochenkov:legimp, r=nikomatsakis
Turn deprecation lint `legacy_imports` into a hard error

Closes https://github.com/rust-lang/rust/issues/38260

The lint was introduced in Dec 2016, then made deny-by-default in Jun 2017 when crater run found 0 regressions caused by it.

This lint requires some not entirely trivial amount of import resolution logic that (surprisingly or not) interacts with `feature(use_extern_macros)` (https://github.com/rust-lang/rust/issues/35896), so it would be desirable to remove it before stabilizing `use_extern_macros`.
In particular, this PR fixes the failing example in https://github.com/rust-lang/rust/issues/50725 (but not the whole issue, `use std::panic::{self}` still can cause other undesirable errors when `use_extern_macros` is enabled).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions