rustc: collapse relevant DefPathData variants into TypeNs.

This commit is contained in:
Eduard-Mihai Burtescu 2019-05-03 21:51:24 +03:00
parent 13fde05b12
commit e5b9f54cd9
9 changed files with 61 additions and 90 deletions

View file

@ -1,4 +1,4 @@
error: symbol-name(_ZN5basic4main17h08bcaf310214ed52E)
error: symbol-name(_ZN5basic4main17hd72940ef9669d526E)
--> $DIR/basic.rs:3:1
|
LL | #[rustc_symbol_name]

View file

@ -1,4 +1,4 @@
error: symbol-name(_ZN5impl13foo3Foo3bar17hc487d6ec13fe9124E)
error: symbol-name(_ZN5impl13foo3Foo3bar17he53b9bee7600ed8dE)
--> $DIR/impl1.rs:8:9
|
LL | #[rustc_symbol_name]
@ -10,7 +10,7 @@ error: def-path(foo::Foo::bar)
LL | #[rustc_def_path]
| ^^^^^^^^^^^^^^^^^
error: symbol-name(_ZN5impl13bar33_$LT$impl$u20$impl1..foo..Foo$GT$3baz17h38577281258e1527E)
error: symbol-name(_ZN5impl13bar33_$LT$impl$u20$impl1..foo..Foo$GT$3baz17h86c41f0462d901d4E)
--> $DIR/impl1.rs:18:9
|
LL | #[rustc_symbol_name]