about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-09-08 10:08:30 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-10-01 10:37:19 -0400
commit3b1399df2dbdcbe0e126e8b434536257ccf604e1 (patch)
tree9f8c02188333be3a9b01bf7ca7e38a63359a422f /src/rustllvm/RustWrapper.cpp
parent95ce1ebe7c58915c3ac35ed790301739d3a4929d (diff)
downloadrust-3b1399df2dbdcbe0e126e8b434536257ccf604e1.tar.gz
rust-3b1399df2dbdcbe0e126e8b434536257ccf604e1.zip
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions