diff options
| author | bors <bors@rust-lang.org> | 2017-04-21 14:02:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-04-21 14:02:37 +0000 |
| commit | 5695c3e9435a5872e23a6bb61c1ea0b3ada83eef (patch) | |
| tree | 8496a09a530afa6c2b2a5ead08b1d315abbbf590 /src/libsyntax/parse/parser.rs | |
| parent | 4ed95009d8d5d50c4f7aee35ad89c30a2258ffa9 (diff) | |
| parent | 89bd3f39cadbbe0b361303ddbda2796ea7f39bb9 (diff) | |
| download | rust-5695c3e9435a5872e23a6bb61c1ea0b3ada83eef.tar.gz rust-5695c3e9435a5872e23a6bb61c1ea0b3ada83eef.zip | |
Auto merge of #41349 - eddyb:ty-contents, r=nikomatsakis
rustc: replace TypeContents with two independent properties (is_freeze / needs_drop). `InteriorUnsafe` / `interior_unsafe` was replaced with a private lang-item `Freeze` auto trait in libcore. `OwnsDtor` / `needs_drop` was replaced with a specialized traversal that *doesn't* avoid caching results in case of a cycle, as the only cycles left can only occur in erroneous "types with infinite sizes", references and raw pointers not having destructors. Also, `Copy` is now checked at every step of the recursion. r? @nikomatsakis
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
