]> git.lizzy.rs Git - rust.git/commitdiff
Add FIXME note
authorvarkor <github@varkor.com>
Tue, 3 Mar 2020 23:47:13 +0000 (23:47 +0000)
committervarkor <github@varkor.com>
Sun, 15 Mar 2020 15:11:29 +0000 (15:11 +0000)
src/librustdoc/html/render.rs

index e791ae419274d832962dad021164979c1e8e673e..b3d70475bf3c382f12e0fc7c5c0a98912df8472b 100644 (file)
@@ -44,7 +44,6 @@
 
 use rustc::middle::privacy::AccessLevels;
 use rustc::middle::stability;
-use rustc_ast::ast;
 use rustc_ast_pretty::pprust;
 use rustc_data_structures::flock;
 use rustc_data_structures::fx::{FxHashMap, FxHashSet};
@@ -3152,6 +3151,7 @@ fn render_attributes(w: &mut Buffer, it: &clean::Item, top: bool) {
             continue;
         }
 
+        // FIXME: this currently renders too many spaces as in: `#[repr(C, align (8))]`.
         attrs.push_str(&pprust::attribute_to_string(&attr));
     }
     if !attrs.is_empty() {