mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rebase on new #[feature] parsing
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//@ compile-flags: -Zunpretty=hir
|
||||
//@ check-pass
|
||||
//@ edition: 2015
|
||||
#![feature(diagnostic_on_const)]
|
||||
#![attr = Feature([diagnostic_on_const#0])]
|
||||
extern crate std;
|
||||
#[attr = PreludeImport]
|
||||
use ::std::prelude::rust_2015::*;
|
||||
//@ compile-flags: -Zunpretty=hir
|
||||
//@ check-pass
|
||||
//@ edition: 2015
|
||||
|
||||
#[attr = OnUnimplemented {directive: Directive {is_rustc_attr: false,
|
||||
subcommands: [],
|
||||
|
||||
Reference in New Issue
Block a user