Auto merge of #82868 - petrochenkov:bto, r=estebank
Report missing cases of `bare_trait_objects` Fixes https://github.com/rust-lang/rust/issues/65371
This commit is contained in:
commit
2aafe452b8
39 changed files with 192 additions and 93 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue