Prevent #[doc(alias = "...")] at crate level
This commit is contained in:
parent
738d4a7a36
commit
0e68e1ba5c
2 changed files with 19 additions and 3 deletions
|
@ -9,13 +9,13 @@ use crate::{Item, ItemKind, TraitItem, TraitItemKind};
|
|||
|
||||
use std::fmt::{self, Display};
|
||||
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
#[derive(Copy, Clone, PartialEq, Debug)]
|
||||
pub enum MethodKind {
|
||||
Trait { body: bool },
|
||||
Inherent,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
#[derive(Copy, Clone, PartialEq, Debug)]
|
||||
pub enum Target {
|
||||
ExternCrate,
|
||||
Use,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue