rustc: embed path resolutions into the HIR instead of keeping DefMap.
This commit is contained in:
parent
bc096549e8
commit
962633cdbb
55 changed files with 951 additions and 949 deletions
|
|
@ -16,7 +16,7 @@ fn main() {
|
|||
Bar = foo
|
||||
//~^ ERROR attempt to use a non-constant value in a constant
|
||||
//~^^ ERROR constant evaluation error
|
||||
//~| non-constant path in constant expression
|
||||
//~| unresolved path in constant expression
|
||||
}
|
||||
|
||||
println!("{}", Stuff::Bar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue