about summary refs log tree commit diff
path: root/src/test/compile-fail/empty-struct-unit-pat.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-59/+0
2016-11-08Partially stabilize RFC 1506 "Clarify relationships between ADTs"Vadim Petrochenkov-2/+0
2016-10-05Turn compatibility lint `match_of_unit_variant_via_paren_dotdot` into a hard ↵Vadim Petrochenkov-0/+61
error
2016-08-13Remove restrictions from tuple structs/variantsVadim Petrochenkov-63/+0
Hard errors are turned into feature gates
2016-04-21port compiletest to use JSON outputNiko Matsakis-4/+4
This uncovered a lot of bugs in compiletest and also some shortcomings of our existing JSON output. We had to add information to the JSON output, such as suggested text and macro backtraces. We also had to fix various bugs in the existing tests. Joint work with jntrnr.
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