diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-03-26 17:34:32 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-05-20 16:12:49 +0100 |
| commit | 9f800457dda7ee9b8579394d1c07761f3008e573 (patch) | |
| tree | bb254d502d1f96b1cf06800da9321fdfd87cb9dd /src/libsyntax | |
| parent | 16ef2957705392abd6a7d9ac46619863ac339ef1 (diff) | |
| download | rust-9f800457dda7ee9b8579394d1c07761f3008e573.tar.gz rust-9f800457dda7ee9b8579394d1c07761f3008e573.zip | |
Ban multi-trait objects via trait aliases.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index d12240655e6..e299518af0b 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -2133,10 +2133,10 @@ pub struct TraitRef { #[derive(Clone, RustcEncodable, RustcDecodable, Debug)] pub struct PolyTraitRef { - /// The `'a` in `<'a> Foo<&'a T>` + /// The `'a` in `<'a> Foo<&'a T>`. pub bound_generic_params: Vec<GenericParam>, - /// The `Foo<&'a T>` in `<'a> Foo<&'a T>` + /// The `Foo<&'a T>` in `<'a> Foo<&'a T>`. pub trait_ref: TraitRef, pub span: Span, |
