summary refs log tree commit diff
path: root/src/test/compile-fail/empty-struct-unit-pat.rs
AgeCommit message (Collapse)AuthorLines
2016-02-29std: Stabilize APIs for the 1.8 releaseAlex Crichton-3/+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-02-18Make future-compat lint `match_of_unit_variant_via_paren_dotdot` deny by defaultVadim Petrochenkov-11/+9
2016-01-15Preserve struct/variant kinds in metadataVadim Petrochenkov-12/+35
Add tests for use of empty structs in cross-crate scenarios
2016-01-13s/HARD ERROR/hard error/ -- perhaps the warning is enoughNiko Matsakis-2/+2
2016-01-12Fix test cases accordinglyNiko Matsakis-0/+2
2016-01-07updated test to reflect loosening of check (for issue #30379).Felix S. Klock II-2/+6
2015-11-19Add special case for `UnitVariant(..)` patternsVadim Petrochenkov-1/+1
2015-11-19Fix various bugs around empty structs and patternsVadim Petrochenkov-11/+10
2015-10-13Test and gate empty structures and variants betterVadim Petrochenkov-0/+40