Vadim Petrochenkov
91b9dabdeb
resolve: Rewrite resolve_pattern
2016-06-10 01:03:54 +03:00
Jonathan Turner
1b6afd1e42
Update errors to use new error format
2016-05-12 16:48:59 -07:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Huon Wilson
b98a589e23
Remove use of globs feature gate from tests.
2015-01-05 20:00:10 +11:00
Timothée Ravier
73b0186290
Fix inner attribute syntax from #[foo];
to #![foo]
...
From the 0.10 changelog:
* The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
2014-04-04 13:22:57 -07:00
Alex Crichton
3396365cab
Add appropriate #[feature] directives to tests
2013-10-06 14:39:25 -07:00
Patrick Walton
1be40be613
test: Update tests to use the new syntax.
2013-05-22 21:57:10 -07:00
Patrick Walton
5bd8692e9d
test: Fix a bunch of compile-fail tests. rs=bustage
2012-12-28 19:36:35 -08:00
Graydon Hoare
d1affff623
Reliciense makefiles and testsuite. Yup.
2012-12-10 17:32:58 -08:00
Patrick Walton
f686896f60
test: "import" -> "use"
2012-09-05 12:32:05 -07:00
Brian Anderson
8337fa1a54
Camel case the option type
2012-08-26 15:56:16 -07:00
Brian Anderson
0ee96de4ee
rustc: Lower case error messages
2012-03-05 17:05:20 -08:00
Patrick Walton
1731f5d709
test: Fix error patterns in name-clash-nullary
2012-01-19 14:47:43 -08:00
Tim Chevalier
7c7559edaf
Disallow variable names that shadow tags in scope
...
Now, if you have a tag named "foo", a variable declaration like
"let foo..." is illegal. This change makes it possible to eliminate
the '.' after a nullary tag pattern in an alt (but I'll be doing
that in a future commit) -- as now it's always obvious whether a
name refers to a tag or a new declared variable.
resolve implements this change -- all the other changes are just to
get rid of existing code that declares variables that shadow tag
names.
2012-01-06 14:44:43 -08:00