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 21:54:46 +00:00
type Alias = ();
use Alias::*; //~ ERROR unresolved import `Alias` [E0432]
use std::io::Result::*; //~ ERROR unresolved import `std::io::Result` [E0432]
2016-03-08 21:54:46 +00:00
2016-03-08 22:27:12 +00:00
trait T {}
use T::*; //~ ERROR items in traits are not importable
2016-03-08 21:54:46 +00:00
fn main() {}