rust/tests/ui/imports/issue-30560.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
235 B
Rust
Raw Normal View History

2016-03-08 15:54:46 -06:00
type Alias = ();
use Alias::*; //~ ERROR unresolved import `Alias` [E0432]
use std::io::Result::*; //~ ERROR unresolved import `std::io::Result` [E0432]
2016-03-08 15:54:46 -06:00
2016-03-08 16:27:12 -06:00
trait T {}
use T::*; //~ ERROR items in traits are not importable
2016-03-08 15:54:46 -06:00
fn main() {}