diff options
| author | Sunjay Varma <varma.sunjay@gmail.com> | 2017-11-09 22:21:53 -0500 |
|---|---|---|
| committer | Sunjay Varma <varma.sunjay@gmail.com> | 2017-12-01 01:26:29 -0500 |
| commit | 83efebc5393624072526720b62f03e1c1f5e7b25 (patch) | |
| tree | ddec5a7b691b094147c30d061a43b90d2603caa4 /src/libsyntax | |
| parent | f29613437fb1925ead92f81cd2495d7b92a5fd2a (diff) | |
| download | rust-83efebc5393624072526720b62f03e1c1f5e7b25.tar.gz rust-83efebc5393624072526720b62f03e1c1f5e7b25.zip | |
Fixed tidy errors
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 9b5be298fd5..161967c3f3d 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1622,7 +1622,8 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> { "associated type defaults are unstable"); } _ if ti.generics.is_parameterized() => { - gate_feature_post!(&self, generic_associated_types, ti.span, "generic associated types are unstable"); + gate_feature_post!(&self, generic_associated_types, ti.span, + "generic associated types are unstable"); } _ => {} } @@ -1643,7 +1644,8 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> { } } _ if ii.generics.is_parameterized() => { - gate_feature_post!(&self, generic_associated_types, ii.span, "generic associated types are unstable"); + gate_feature_post!(&self, generic_associated_types, ii.span, + "generic associated types are unstable"); } _ => {} } |
