rustc: embed path resolutions into the HIR instead of keeping DefMap.

This commit is contained in:
Eduard-Mihai Burtescu 2016-11-25 13:21:19 +02:00
parent bc096549e8
commit 962633cdbb
55 changed files with 951 additions and 949 deletions

View file

@ -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);