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:
parent
1e8abe7da2
commit
2be00947bf
6 changed files with 17 additions and 15 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue