aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-04-29 01:16:22 +0100
committerJonas Schievink <[email protected]>2021-04-29 01:27:55 +0100
commitcaee3a2eebd514f5a2f5e68a9fcd4428fa34d41c (patch)
treea86dcceb9494cd243a2e1f6c10edd1c7be1f8fb5 /crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs
parent49b219b1035e20143818d409404b5e6f19a7ad1d (diff)
Correctly parse negated literals as const args
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs')
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs b/crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs
new file mode 100644
index 000000000..8a81d05cd
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0164_const_generic_negated_literal.rs
@@ -0,0 +1 @@
fn f() { S::<-1> }