1
Fork 0

Prevent #[doc(alias = "...")] at crate level

This commit is contained in:
Guillaume Gomez 2020-09-04 17:12:53 +02:00
parent 738d4a7a36
commit 0e68e1ba5c
2 changed files with 19 additions and 3 deletions

View file

@ -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,