about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-12-27 19:42:27 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-30 09:36:22 -0500
commit2bbd2f9ceafb86614b431cff4184f6e8ce7c973f (patch)
tree1d1e6de5d56ca1665dc15532228b9036148cbd23 /src/rustllvm/RustWrapper.cpp
parent964a5fabb7e32ac2b53678497a359e6eba2d5261 (diff)
downloadrust-2bbd2f9ceafb86614b431cff4184f6e8ce7c973f.tar.gz
rust-2bbd2f9ceafb86614b431cff4184f6e8ce7c973f.zip
Remove the def-id from type parameters. Having this def-id was bad for several reasons:
1. Produced more unique types than is necessary. This increases memory consumption.
2. Linking the type parameter to its definition *seems* like a good idea, but it
   encourages reliance on the bounds listing.
3. It made pretty-printing harder and in particular was causing bad error messages
   when errors occurred before the `TypeParameterDef` entries were fully stored.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions