about summary refs log tree commit diff
path: root/src/test/compile-fail/match-pattern-field-mismatch-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-26/+0
2016-10-04Move pattern resolution checks from typeck to resolveVadim Petrochenkov-1/+1
Make error messages more precise
2016-05-26Implement `..` in tuple (struct) patternsVadim Petrochenkov-1/+1
2016-01-08The lint warnings are not reported since we report the errors first and then ↵Felix S. Klock II-1/+0
exit. I think that behavior is fine, so I am removing the expected warnings from these tests.
2015-11-19Add special case for `UnitVariant(..)` patternsVadim Petrochenkov-1/+2
2015-11-19Fix various bugs around empty structs and patternsVadim Petrochenkov-1/+1
2015-01-08Update compile fail tests to use usize.Huon Wilson-2/+2
2014-11-17Switch to purely namespaced enumsSteven Fackler-3/+3
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2013-05-27Change `alt` to `match` in filenames.Lindsey Kuper-0/+26