X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc%2Fhir%2Fcheck_attr.rs;h=ea1c585176d57c837e9cb6c310fc1cb3338cf3de;hb=8be9e904549624b3bc97c0cee9ab7780647f365a;hp=96562002aa070240c1cffeee6b91d7bf7e91fe5a;hpb=61a551b4939ec1d5596e585351038b8fbd0124ba;p=rust.git diff --git a/src/librustc/hir/check_attr.rs b/src/librustc/hir/check_attr.rs index 96562002aa0..ea1c585176d 100644 --- a/src/librustc/hir/check_attr.rs +++ b/src/librustc/hir/check_attr.rs @@ -16,6 +16,8 @@ use syntax::{attr, symbol::sym}; use syntax_pos::Span; +use rustc_error_codes::*; + #[derive(Copy, Clone, PartialEq)] pub(crate) enum MethodKind { Trait { body: bool },