mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Do not remove super keyword from super-let
This commit is contained in:
@@ -63,6 +63,11 @@ fn rewrite_result(&self, context: &RewriteContext<'_>, shape: Shape) -> RewriteR
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user