librustc: Forbid chained imports and fix the logic for one-level renaming imports
This commit is contained in:
parent
347d19934d
commit
a3f728238b
92 changed files with 402 additions and 544 deletions
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use cmp::Eq;
|
||||
use core::cmp::Eq;
|
||||
|
||||
trait MyNum : Eq { }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue