aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/tests.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-03-15 13:37:30 +0000
committerFlorian Diebold <[email protected]>2020-03-16 17:38:19 +0000
commit0660dd10d203cba4069b48d00d02ec9935a916f0 (patch)
tree9d8178c3d4e0ce851298f0922fb77d1cab2abb5a /crates/ra_mbe/src/tests.rs
parente6ec4a329fedb354e64c0e0dea9b7651cab78960 (diff)
Fix performance problem
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
-rw-r--r--crates/ra_mbe/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs
index 4d3140fa9..faf88c1b1 100644
--- a/crates/ra_mbe/src/tests.rs
+++ b/crates/ra_mbe/src/tests.rs
@@ -1663,5 +1663,5 @@ fn test_expand_bad_literal() {
1663 macro_rules! foo { ($i:literal) => {}; } 1663 macro_rules! foo { ($i:literal) => {}; }
1664 "#, 1664 "#,
1665 ) 1665 )
1666 .assert_expand_err(r#"foo!(&k");"#, &ExpandError::NoMatchingRule); 1666 .assert_expand_err(r#"foo!(&k");"#, &ExpandError::BindingError("".to_string()));
1667} 1667}