We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9748af8 commit e2feea4Copy full SHA for e2feea4
CHANGELOG.md
@@ -48,6 +48,16 @@
48
builtin # type_ascribe(10, usize)
49
}
50
```
51
+- rustfmt no longer removes inner attributes from inline const blocks [#6158](https://github.com/rust-lang/rustfmt/issues/6158)
52
+ ```rust
53
+ fn main() {
54
+ const {
55
+ #![allow(clippy::assertions_on_constants)]
56
+
57
+ assert!(1 < 2);
58
+ }
59
60
+ ```
61
62
63
### Changed
0 commit comments