Do not remove super keyword from super-let
This commit is contained in:
parent
da1e442ebd
commit
26316b86bc
1 changed files with 5 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue