rust/src/librustc_privacy
Niko Matsakis 3b1399df2d Make calling def_id on a DefSelfTy an error; the previous defids that
were returned, either the trait or the *self type itself*, were not
particularly representative of what the Def is (a type parameter).
Rewrite paths to handle this case specially, just as they handle the
primitive case specifically. This entire `def_id` codepath is kind of a
mess.
2015-10-01 10:37:19 -04:00
..
diagnostics.rs Add error code for private struct field issue 2015-09-10 14:19:01 +02:00
lib.rs Make calling def_id on a DefSelfTy an error; the previous defids that 2015-10-01 10:37:19 -04:00