]> git.lizzy.rs Git - rust.git/commit
syntax: allow negative integer literal expression to be interpolated as pattern
authorAlex Burka <alex@alexburka.com>
Sat, 24 Jun 2017 18:26:04 +0000 (18:26 +0000)
committerAlex Burka <alex@alexburka.com>
Tue, 27 Jun 2017 18:39:38 +0000 (18:39 +0000)
commit0dfd9c30f2c61458343e0816c66f448019e826d1
treec372f56ca32275416f35ef2a76561c9086752334
parent229d0d3266002d343cdd2f4a3bf7f2fe9da15f38
syntax: allow negative integer literal expression to be interpolated as pattern
src/librustc_lint/builtin.rs
src/librustc_passes/ast_validation.rs
src/libsyntax/parse/parser.rs
src/test/compile-fail/patkind-litrange-no-expr.rs [new file with mode: 0644]
src/test/run-pass/macro-pat-neg-lit.rs [new file with mode: 0644]