mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Make the new world order normative. Closes #2908.
This commit is contained in:
parent
92743dc2a6
commit
e2af785606
@ -654,21 +654,12 @@ class parser {
|
||||
if self.token == token::BINOP(token::SLASH) {
|
||||
self.bump();
|
||||
alt copy self.token {
|
||||
token::AT {
|
||||
self.bump(); some(vstore_box)
|
||||
}
|
||||
token::TILDE {
|
||||
self.bump(); some(vstore_uniq)
|
||||
}
|
||||
token::UNDERSCORE {
|
||||
self.bump(); some(vstore_fixed(none))
|
||||
}
|
||||
token::LIT_INT_UNSUFFIXED(i) if i >= 0i64 {
|
||||
self.bump(); some(vstore_fixed(some(i as uint)))
|
||||
}
|
||||
token::BINOP(token::AND) {
|
||||
some(vstore_slice(self.parse_region()))
|
||||
}
|
||||
_ {
|
||||
none
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ fn get_lint_dict() -> lint_dict {
|
||||
(~"old_strs",
|
||||
@{lint: old_strs,
|
||||
desc: ~"old (deprecated) strings",
|
||||
default: warn}),
|
||||
default: error}),
|
||||
|
||||
(~"unrecognized_warning",
|
||||
@{lint: unrecognized_warning,
|
||||
|
Loading…
Reference in New Issue
Block a user