1 // rustfmt-normalize_comments: true
2 itemmacro!(this, is.now().formatted(yay));
6 long.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb()
11 itemmacro!{this, is.bracket().formatted()}
13 peg_file! modname("mygrammarfile.rustpeg");
22 baz!(1 + 2 + 3, quux.kaas());
25 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
26 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
35 trailingcomma!(a, b, c,);
37 noexpr!( i am not an expression, OK? );
60 vec![a /* comment */];
62 // Trailing spaces after a comma
82 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
84 vec![a; unsafe { x + 1 }];
86 unknown_bracket_macro__comma_should_not_be_stripped![a,];
92 macrowithbraces! {dont, format, me}
114 let image = gray_image!(
120 chain!(input, a:take!(max_size), || []);
128 println!("dsfs"); // a comment
132 let hello = &format!(
133 "HTTP/1.1 200 OK\r\nServer: {}\r\n\r\n{}",
134 "65454654654654654654654655464",
141 (#[$attr:meta] $name:ident) => {}
156 b: types::Timestamptz,
165 init_size[1] - extreeeeeeeeeeeeeeeeeeeeeeeem..init_size[1],
167 ]).par_map_inplace(|el| *el = 0.);
178 .collect::<Vec<_>>();
184 fn test(a: String, s: String, b: String) -> TestResult {
185 if a.find(&s).is_none() {
187 TestResult::from_bool(true)
189 TestResult::discard()
199 static ref ONE: u32 = 1;
200 static ref TWO: u32 = 2;
201 static ref THREE: u32 = 3;
202 static ref FOUR: u32 = {
211 // Put the following tests with macro invocations whose arguments cannot be parsed as expressioins
212 // at the end of the file for now.
222 vbuf: gfx::VertexBuffer<Vertex> = (),
223 out: gfx::RenderTarget<ColorFormat> = "Target0",