summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4036/one.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-4036/one.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-4036/one.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-4036/one.rs b/src/tools/rustfmt/tests/target/issue-4036/one.rs
new file mode 100644
index 000000000..54e490b7f
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-4036/one.rs
@@ -0,0 +1,12 @@
+// rustfmt-format_strings: true
+
+macro_rules! test {
+ () => {
+ fn from() {
+ None.expect(
+ "We asserted that `buffer.len()` is exactly `$n` so we can expect \
+ `ApInt::from_iter` to be successful.",
+ )
+ }
+ };
+}