Matthias Krüger
e810487b4d
Rollup merge of #92414 - dtolnay:constnoexpr, r=oli-obk
Fix spacing of pretty printed const item without body
Follow-up to #92238 fixing one of the FIXMEs.
```rust
macro_rules! repro {
($item:item) => {
stringify!($item)
};
}
fn main() {
println!("{}", repro!(extern "C" { static S: i32; }));
}
```
Before: `extern "C" { static S: i32 ; }`
After: `extern "C" { static S: i32; }`
2021-12-30 13:12:34 +01:00
..
2021-12-23 17:23:21 +11:00
2021-12-14 18:50:31 -04:00
2021-11-19 07:52:59 +11:00
2021-12-30 13:12:33 +01:00
2021-12-27 23:34:52 -08:00
2021-12-19 09:31:37 +00:00
2021-12-29 12:26:50 -08:00
2021-12-15 17:32:14 +11:00
2021-12-22 14:36:34 -05:00
2021-12-21 11:52:40 -06:00
2021-12-20 18:56:35 +01:00
2021-12-19 09:31:37 +00:00
2021-12-30 02:53:09 +00:00
2021-12-30 02:53:09 +00:00
2021-12-24 04:59:05 +00:00
2021-12-28 01:04:33 +00:00
2021-12-22 10:47:36 -06:00
2021-12-28 15:46:20 +03:00
2021-12-14 18:50:31 -04:00
2021-12-30 13:12:33 +01:00
2021-12-14 22:38:51 -05:00
2021-09-20 22:21:42 -04:00
2021-12-14 12:40:28 +01:00
2021-12-22 10:50:57 -06:00
2021-12-28 12:56:55 -08:00
2021-12-19 09:31:37 +00:00
2021-12-22 10:50:57 -06:00
2021-12-20 09:29:20 +11:00
2021-12-29 22:35:11 +00:00
2021-12-03 13:20:14 +00:00
2021-12-21 08:33:39 +01:00
2021-12-21 08:33:39 +01:00
2021-12-13 10:41:43 +01:00
2021-12-15 19:50:43 -05:00
2021-12-29 19:22:33 +00:00
2021-12-29 19:22:33 +00:00
2021-12-22 14:36:34 -05:00
2021-12-16 14:29:43 -05:00
2021-12-24 04:59:05 +00:00
2021-12-19 17:38:34 +01:00
2021-12-28 14:20:15 -05:00
2021-09-20 22:21:42 -04:00
2021-12-19 09:31:37 +00:00
2021-12-06 12:03:47 -05:00
2021-12-27 21:42:25 +01:00
2021-12-19 09:31:37 +00:00
2021-12-14 18:50:31 -04:00
2021-12-29 10:17:10 +01:00
2021-12-19 09:31:37 +00:00
2021-12-13 07:30:38 +00:00
2021-12-29 22:35:11 +00:00
2021-12-22 10:50:57 -06:00
2021-12-19 09:31:37 +00:00
2021-12-19 12:36:56 +00:00
2021-12-29 19:22:33 +00:00
2021-12-23 08:59:55 +00:00
2021-12-17 20:42:48 +08:00
2021-12-13 20:36:17 -08:00
2021-12-28 19:31:51 +08:00