diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 06:16:57 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 15:51:30 -0500 |
| commit | c18a1327e3ccf02ae9f755ca280d53177eeb298d (patch) | |
| tree | 1472273c1b5c6373d7e7bc4e3a9529707e7cfe7f /src/rustllvm/RustWrapper.cpp | |
| parent | 0a3cbf8cf44e41072c11277363a5100cf3a8a161 (diff) | |
| download | rust-c18a1327e3ccf02ae9f755ca280d53177eeb298d.tar.gz rust-c18a1327e3ccf02ae9f755ca280d53177eeb298d.zip | |
Make TyTrait embed a `TraitRef`, so that when we extend TraitRef, it naturally carries over to object types.
I wanted to embed an `Rc<TraitRef>`, but I was foiled by the current static rules, which prohibit non-Sync values from being stored in static locations. This means that the constants for `ty_int` and so forth cannot be initialized.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
