summary refs log tree commit diff
path: root/src/test/compile-fail/pattern-error-continue.rs
AgeCommit message (Collapse)AuthorLines
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-05-02update test cases to reflect new messagesNiko Matsakis-6/+4
2016-04-17Fix diagnostics for unresolved patternsJeffrey Seyfried-0/+4
2016-01-18simplify E0308 message for primitive typeskalita.alexey-2/+0
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-12Fix testsuite errorsmdinger-2/+11
2015-01-08Update compile fail tests to use isize.Huon Wilson-3/+3
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]
2014-10-24Update tests with the new error messagesJakub Bukaj-1/+2
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-2/+2
Closes #8492
2013-11-28Register new snapshotsAlex Crichton-1/+1
2013-08-14rustc: Eliminate a derived error in check::_matchTim Chevalier-2/+3
2013-04-18rustc: Make some typechecker errors non-fatalTim Chevalier-0/+36