diff options
| author | varkor <github@varkor.com> | 2018-06-14 11:25:14 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-06-20 12:23:23 +0100 |
| commit | 7de6ed06a528db8f34ca3e75ded9d77ab9ba8b9a (patch) | |
| tree | 5144b7b2af8a4e1476fb04d2abe58fdfaf4fb63b /src/libsyntax/ext | |
| parent | 8bc3a35576dd4e2f02b9d34fe5ed241288b5bfbe (diff) | |
| download | rust-7de6ed06a528db8f34ca3e75ded9d77ab9ba8b9a.tar.gz rust-7de6ed06a528db8f34ca3e75ded9d77ab9ba8b9a.zip | |
Rename TraitTyParamBound to ParamBound::Trait
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index cc0bc7f0c74..28bfb1ff811 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -465,7 +465,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { } fn ty_param_bound(&self, path: ast::Path) -> ast::ParamBound { - ast::TraitTyParamBound(self.poly_trait_ref(path.span, path), ast::TraitBoundModifier::None) + ast::Trait(self.poly_trait_ref(path.span, path), ast::TraitBoundModifier::None) } fn lifetime(&self, span: Span, ident: ast::Ident) -> ast::Lifetime { |
