2016-04-26 12:51:14 -05:00
|
|
|
// testing whether the lookup mechanism picks up types
|
|
|
|
// defined in the outside crate
|
|
|
|
|
|
|
|
#![crate_type="lib"]
|
|
|
|
|
|
|
|
mod foo {
|
|
|
|
// should not be suggested => foo is private
|
|
|
|
pub trait T {}
|
2015-03-18 16:05:24 -05:00
|
|
|
}
|
2016-04-26 12:51:14 -05:00
|
|
|
|
|
|
|
// should be suggested
|
|
|
|
pub use foo::T;
|