// Check that literals in attributes parse just fine.
+// gate-test-custom_attribute
+
#![feature(rustc_attrs, attr_literals)]
#![allow(dead_code)]
#![allow(unused_variables)]
// checking feature-gating of the attributes themselves, not the
// capability to parse such attributes in that context.
+// gate-test-custom_attribute
+
#![feature(generic_param_attrs)]
#![allow(dead_code)]
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// gate-test-use_extern_macros
+
fn main() {
globnar::brotz!(); //~ ERROR non-ident macro paths are experimental
::foo!(); //~ ERROR non-ident macro paths are experimental
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// gate-test-default_type_parameter_fallback
+
#![deny(future_incompatible)]
#![allow(dead_code)]
// FIXME get this whitelist empty.
let whitelist = vec![
"abi_ptx", "simd", "macro_reexport",
- "more_struct_aliases", "static_recursion", "reflect",
- "quote", "cfg_target_has_atomic", "custom_attribute",
- "default_type_parameter_fallback",
- "use_extern_macros", "staged_api", "const_indexing",
+ "static_recursion", "reflect", "quote",
+ "cfg_target_has_atomic", "staged_api", "const_indexing",
"unboxed_closures", "stmt_expr_attributes",
"cfg_target_thread_local", "unwind_attributes",
"inclusive_range_syntax", "proc_macro"