Update comment regarding crate level cfg_attr

This commit is contained in:
Philipp Hansch 2019-02-11 22:32:54 +01:00
parent 7d3983216f
commit a14247b500
No known key found for this signature in database
GPG Key ID: B6FA06A6E0E2665B

View File

@ -260,8 +260,8 @@ mod reexport {
///
/// Pre-expansion lints run before any macro expansion has happened.
///
/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes will still
/// be expanded even when using a pre-expansion pass.
/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes on crate
/// level (i.e `#![cfg_attr(...)]`) will still be expanded even when using a pre-expansion pass.
///
/// Used in `./src/driver.rs`.
pub fn register_pre_expansion_lints(