diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-27 19:42:27 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-30 09:36:22 -0500 |
| commit | 2bbd2f9ceafb86614b431cff4184f6e8ce7c973f (patch) | |
| tree | 1d1e6de5d56ca1665dc15532228b9036148cbd23 /src/rustllvm/RustWrapper.cpp | |
| parent | 964a5fabb7e32ac2b53678497a359e6eba2d5261 (diff) | |
| download | rust-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
