diff options
| author | bors <bors@rust-lang.org> | 2018-05-19 12:16:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-19 12:16:50 +0000 |
| commit | ef8ee647749ad2f0acf235aaf18debacb974a048 (patch) | |
| tree | bdd3be45c4dac19d76ea672a8d91cbe41ed17a96 /src/rustllvm/RustWrapper.cpp | |
| parent | c95e1cccc9c248789230a54ecfd87971a04d5c0c (diff) | |
| parent | d1b027421edb0c559ed0840174b83dfa3bcab7ce (diff) | |
| download | rust-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
