Skip to content

Commit ab81290

Browse files
committed
Add a test for #1209
1 parent 24f1f69 commit ab81290

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/source/macros.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,9 @@ fn special_case_macros() {
224224
// assert!
225225
assert!(result, "Arr! While plunderin' the hold, we got '{}' when given '{}' (we expected '{}')", result, input, expected);
226226
}
227+
228+
// #1209
229+
impl Foo {
230+
/// foo
231+
pub fn foo(&self) -> Bar<foo!( )> {}
232+
}

tests/target/macros.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,3 +284,9 @@ fn special_case_macros() {
284284
result, input, expected
285285
);
286286
}
287+
288+
// #1209
289+
impl Foo {
290+
/// foo
291+
pub fn foo(&self) -> Bar<foo!()> {}
292+
}

0 commit comments

Comments
 (0)