Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/tools/rustfmt/src/items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ impl Rewrite for ast::Local {
return Err(RewriteError::SkipFormatting);
}

// FIXME(super_let): Implement formatting
if self.super_.is_some() {
return Err(RewriteError::SkipFormatting);
}

let attrs_str = self.attrs.rewrite_result(context, shape)?;
let mut result = if attrs_str.is_empty() {
"let ".to_owned()
Expand Down
Loading