about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2020-03-03 23:47:13 +0000
committervarkor <github@varkor.com>2020-03-15 15:11:29 +0000
commitc599ec4460f17c43f5df1d4df269f3811ece4bd7 (patch)
tree036631eed77b6141935ee7fcac8fe26f7fb44238
parent621c42c16351467fe089230d27889295203d2117 (diff)
downloadrust-c599ec4460f17c43f5df1d4df269f3811ece4bd7.tar.gz
rust-c599ec4460f17c43f5df1d4df269f3811ece4bd7.zip
Add FIXME note
-rw-r--r--src/librustdoc/html/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index e791ae41927..b3d70475bf3 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -44,7 +44,6 @@ use std::sync::Arc;
 
 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() {