]> git.lizzy.rs Git - rust.git/commitdiff
Remove an out-of-date comment.
authorNicholas Nethercote <n.nethercote@gmail.com>
Tue, 29 Nov 2022 06:13:38 +0000 (17:13 +1100)
committerNicholas Nethercote <n.nethercote@gmail.com>
Tue, 29 Nov 2022 06:13:38 +0000 (17:13 +1100)
This comment dates back to at least 2013, and is no longer relevant.
(There used to be an `allow` attribute, but that's no longer present.)

compiler/rustc_expand/src/build.rs

index 234cf1b315a23f4ddd939ec58b8d4c6125cd628d..c2a2326d30123b401c17eb19d8089bcf4d2aec00 100644 (file)
@@ -579,8 +579,6 @@ pub fn item(
         attrs: ast::AttrVec,
         kind: ast::ItemKind,
     ) -> P<ast::Item> {
-        // FIXME: Would be nice if our generated code didn't violate
-        // Rust coding conventions
         P(ast::Item {
             ident: name,
             attrs,