kalita.alexey
8a41eb55d8
simplify E0308 message for primitive types
2016-01-18 08:59:44 +04:00
Felix S. Klock II
fa027d1417
The lint warnings are not reported since we report the errors first and then exit.
...
I think that behavior is fine, so I am removing the expected warnings from these tests.
2016-01-08 16:19:13 +01:00
Vadim Petrochenkov
4573bb8e96
Add special case for UnitVariant(..)
patterns
2015-11-19 11:41:09 +03:00
Vadim Petrochenkov
0f8519c341
Fix various bugs around empty structs and patterns
2015-11-19 11:39:18 +03:00
mdinger
7b82a93be3
Fix testsuite errors
2015-01-12 01:34:13 -05:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Steven Fackler
3dcd215740
Switch to purely namespaced enums
...
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-11-17 07:35:51 -08:00
Jakub Bukaj
1484f9cd46
Update tests with the new error messages
2014-10-24 19:43:47 +02:00
Jonas Hietala
9968ae2554
Adjust the error messages to match the pattern "expected foo, found bar"
...
Closes #8492
2014-08-24 09:53:01 +02:00
Alex Crichton
ab387a6838
Register new snapshots
2013-11-28 20:27:56 -08:00
Tim Chevalier
63083ee767
rustc: Eliminate a derived error in check::_match
2013-08-14 13:42:58 -07:00
Tim Chevalier
62847b0f24
rustc: Make some typechecker errors non-fatal
2013-04-18 15:12:27 -07:00