diff options
| author | bors <bors@rust-lang.org> | 2021-03-18 05:27:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-18 05:27:26 +0000 |
| commit | 2aafe452b898aa3fdfb2c5a1a649ed0922e1401d (patch) | |
| tree | b7c27651086eb8ec2358fdee1b6795d71c191c04 /compiler/rustc_ast/src | |
| parent | 81c1d7a1506e5f4bcc5f12fb49f3b6e9bb87c605 (diff) | |
| parent | b48530bf8b30c20a75f5bb7c2021a28c0ae40413 (diff) | |
| download | rust-2aafe452b898aa3fdfb2c5a1a649ed0922e1401d.tar.gz rust-2aafe452b898aa3fdfb2c5a1a649ed0922e1401d.zip | |
Auto merge of #82868 - petrochenkov:bto, r=estebank
Report missing cases of `bare_trait_objects` Fixes https://github.com/rust-lang/rust/issues/65371
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, |
