1
Fork 0

Add items to DocAliasBadLocation check error match arm

- Added `Impl`, `Closure`, ForeignMod` targets
- `Target::name` changed for `Target::Impl`
- Error output for `Target::ForeignMod` changed to "foreign module"
This commit is contained in:
hdelc 2022-08-02 23:11:22 -04:00
parent 1e8abe7da2
commit 2be00947bf
6 changed files with 17 additions and 15 deletions

View file

@ -162,7 +162,7 @@ impl Target {
Target::Union => "union",
Target::Trait => "trait",
Target::TraitAlias => "trait alias",
Target::Impl => "item",
Target::Impl => "implementation block",
Target::Expression => "expression",
Target::Statement => "statement",
Target::Arm => "match arm",