Auto merge of #56264 - petrochenkov:typonly, r=nikomatsakis

resolve: Extern prelude is for type namespace only

Fixes https://github.com/rust-lang/rust/issues/56263 (stable-to-beta regression)
This commit is contained in:
bors 2018-11-27 19:04:44 +00:00
commit 400c2bc5ed
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,8 @@
// compile-pass
// edition:2018
use ::std;
fn main() {
let std = 10;
}