diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-03-13 15:44:29 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-03-18 03:02:32 +0300 |
| commit | 38ed36bba4669a3a6737d1f973789a459b8530b2 (patch) | |
| tree | 1f1c86e89a33f6576b2c9991aaeb11ee5e33112c /compiler/rustc_ast/src | |
| parent | dac96d45af760dce26ff7cbab09c08411c9a9105 (diff) | |
| download | rust-38ed36bba4669a3a6737d1f973789a459b8530b2.tar.gz rust-38ed36bba4669a3a6737d1f973789a459b8530b2.zip | |
hir: Preserve used syntax in `TyKind::TraitObject`
Diffstat (limited to 'compiler/rustc_ast/src')
| -rw-r--r-- | compiler/rustc_ast/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index ee7367d408d..7e82d7ff77d 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -1964,7 +1964,7 @@ impl TyKind { } /// Syntax used to declare a trait object. -#[derive(Clone, Copy, PartialEq, Encodable, Decodable, Debug)] +#[derive(Clone, Copy, PartialEq, Encodable, Decodable, Debug, HashStable_Generic)] pub enum TraitObjectSyntax { Dyn, None, |
