about summary refs log tree commit diff
path: root/src/test/compile-fail/empty-struct-braces-pat-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-36/+0
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-4/+4
2016-11-08Partially stabilize RFC 1506 "Clarify relationships between ADTs"Vadim Petrochenkov-2/+0
2016-10-04Move pattern resolution checks from typeck to resolveVadim Petrochenkov-4/+4
Make error messages more precise
2016-08-13Remove restrictions from tuple structs/variantsVadim Petrochenkov-7/+8
Hard errors are turned into feature gates
2016-06-10resolve: Rewrite resolve_patternVadim Petrochenkov-2/+2
2016-02-29std: Stabilize APIs for the 1.8 releaseAlex Crichton-2/+0
This commit is the result of the FCPs ending for the 1.8 release cycle for both the libs and the lang suteams. The full list of changes are: Stabilized * `braced_empty_structs` * `augmented_assignments` * `str::encode_utf16` - renamed from `utf16_units` * `str::EncodeUtf16` - renamed from `Utf16Units` * `Ref::map` * `RefMut::map` * `ptr::drop_in_place` * `time::Instant` * `time::SystemTime` * `{Instant,SystemTime}::now` * `{Instant,SystemTime}::duration_since` - renamed from `duration_from_earlier` * `{Instant,SystemTime}::elapsed` * Various `Add`/`Sub` impls for `Time` and `SystemTime` * `SystemTimeError` * `SystemTimeError::duration` * Various impls for `SystemTimeError` * `UNIX_EPOCH` * `ops::{Add,Sub,Mul,Div,Rem,BitAnd,BitOr,BitXor,Shl,Shr}Assign` Deprecated * Scoped TLS (the `scoped_thread_local!` macro) * `Ref::filter_map` * `RefMut::filter_map` * `RwLockReadGuard::map` * `RwLockWriteGuard::map` * `Condvar::wait_timeout_with` Closes #27714 Closes #27715 Closes #27746 Closes #27748 Closes #27908 Closes #29866
2016-01-20Refactor definitions of ADTs in rustc::middle::defVadim Petrochenkov-1/+1
2016-01-15Preserve struct/variant kinds in metadataVadim Petrochenkov-0/+12
Add tests for use of empty structs in cross-crate scenarios
2015-11-19Fix various bugs around empty structs and patternsVadim Petrochenkov-12/+0
2015-10-13Test and gate empty structures and variants betterVadim Petrochenkov-0/+39