mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Add item macro tests
This commit is contained in:
parent
f01ed6f507
commit
7fc70a1753
@ -1,5 +1,9 @@
|
||||
itemmacro!(this, is.now() .formatted(yay));
|
||||
|
||||
itemmacro!(really, long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb() .is.formatted());
|
||||
|
||||
itemmacro!{this, is.bracket().formatted()}
|
||||
|
||||
fn main() {
|
||||
foo! ( );
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
itemmacro!(this, is.now().formatted(yay));
|
||||
|
||||
itemmacro!(really,
|
||||
long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb()
|
||||
.is
|
||||
.formatted());
|
||||
|
||||
itemmacro!{this, is.bracket().formatted()}
|
||||
|
||||
fn main() {
|
||||
foo!();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user