Don't feature gate bang macros on 'proc_macro_path_invoc'.

This commit is contained in:
Sergio Benitez 2018-04-27 21:32:00 -07:00
parent ede7f94794
commit f756b072b3
25 changed files with 20 additions and 25 deletions

View file

@ -10,7 +10,7 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
struct S { x: u32 }

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
pub fn f() {}

View file

@ -10,7 +10,7 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
struct S;

View file

@ -14,7 +14,7 @@
// error-pattern:type `fn() -> u32 {intercrate::foo::bar::f}` is private
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
extern crate intercrate;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
pub macro m() { Vec::new(); ().clone() }

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
fn f() {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(decl_macro, proc_macro_path_invoc)]
#![feature(decl_macro)]
mod foo {
pub trait T {

View file

@ -10,7 +10,7 @@
// aux-build:two_macros.rs
#![feature(use_extern_macros, proc_macro_path_invoc)]
#![feature(use_extern_macros)]
extern crate two_macros;

View file

@ -10,7 +10,7 @@
// aux-build:two_macros.rs
#![feature(use_extern_macros, proc_macro_path_invoc)]
#![feature(use_extern_macros)]
mod foo {
extern crate two_macros;