steveklabnik / rustdoc

Not a real thing, see https://github.com/rust-lang/rust for rustdoc's actual source code
https://github.com/rust-lang/rust
104 stars 22 forks source link

CI failing due to rustfmt update #223

Closed hjr3 closed 6 years ago

hjr3 commented 6 years ago

In b5c3ec5c2d3bf4862fec4e2b3f41a286b913804c a lot of json!() macro bodies were removed, which caused tests to fail. This change was done because 5d3f317a74297ac836136378dedae350a39c1ff7 updated to use the new rustfmt. Unfortunately, there is a regression, https://github.com/rust-lang-nursery/rustfmt/issues/2344, where the new rustfmt removes macro bodies when the macro is assigned in a let statement.