Require a list of features to allow in allow_internal_unstable

This commit is contained in:
Oliver Scherer
2019-02-03 12:55:00 +01:00
parent 57d7cfc3cf
commit d3c212c552
35 changed files with 182 additions and 93 deletions

View File

@@ -20,7 +20,9 @@ fn ignored_span(sp: Span) -> Span {
call_site: DUMMY_SP,
def_site: None,
format: MacroAttribute(Symbol::intern("std_inject")),
allow_internal_unstable: true,
allow_internal_unstable: vec![
Symbol::intern("prelude_import"),
],
allow_internal_unsafe: false,
local_inner_macros: false,
edition: hygiene::default_edition(),