2016-10-01 02:38:47 -05:00
|
|
|
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2017-06-15 09:08:18 -05:00
|
|
|
// aux-build:issue-36881-aux.rs
|
2016-11-10 11:08:21 -06:00
|
|
|
|
2016-10-01 02:38:47 -05:00
|
|
|
fn main() {
|
2017-06-24 03:48:27 -05:00
|
|
|
#[allow(unused_extern_crates)]
|
2017-06-15 09:08:18 -05:00
|
|
|
extern crate issue_36881_aux;
|
|
|
|
use issue_36881_aux::Foo; //~ ERROR unresolved import
|
2016-10-01 02:38:47 -05:00
|
|
|
}
|