Move builtin attribute logic to new rustc_attr crate.

For now, this is all the crate contains, but more
attribute logic & types will be moved there over time.
This commit is contained in:
Mazdak Farrokhzad 2020-01-11 13:15:20 +01:00
parent 9be73dc63a
commit 93a8283614
63 changed files with 133 additions and 53 deletions

View file

@ -21,7 +21,7 @@ use crate::attributes;
use crate::llvm::AttributePlace::Function;
use crate::llvm::{self, Attribute};
use crate::llvm_util;
pub use syntax::attr::{self, InlineAttr, OptimizeAttr};
pub use rustc_attr::{self as attr, InlineAttr, OptimizeAttr};
use crate::context::CodegenCx;
use crate::value::Value;