auto merge of #13493 : Manishearth/rust/newattr-everywhere, r=alexcrichton

See #13478
This commit is contained in:
bors 2014-04-14 12:21:52 -07:00
commit 246ebd2d5a
473 changed files with 607 additions and 607 deletions

View file

@ -10,7 +10,7 @@
// error-pattern: unreachable statement
#[deny(unreachable_code)];
#![deny(unreachable_code)]
fn main() {
return;

View file

@ -10,5 +10,5 @@
// error-pattern: missing documentation for crate
#[deny(missing_doc)];
#[crate_type="lib"];
#![deny(missing_doc)]
#![crate_type="lib"]

View file

@ -14,7 +14,7 @@
// error-pattern: dylib output requested, but some depenencies could not
#[crate_type = "dylib"];
#![crate_type = "dylib"]
extern crate a = "issue-12133-rlib";
extern crate b = "issue-12133-dylib";

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[feature(macro_rules)];
#![feature(macro_rules)]
// error-pattern: unknown macro variable `nonexistent`

View file

@ -10,7 +10,7 @@
// error-pattern: unreachable statement
#[deny(unreachable_code)];
#![deny(unreachable_code)]
fn f() -> ! {
return fail!();

View file

@ -10,7 +10,7 @@
// error-pattern: multiple macro registration functions found
#[feature(macro_registrar)];
#![feature(macro_registrar)]
// the registration function isn't typechecked yet
#[macro_registrar]

View file

@ -14,7 +14,7 @@
So we try to compile with junk link_args and make sure they are visible in
the compiler output. */
#[feature(link_args)];
#![feature(link_args)]
#[link_args = "aFdEfSeVEEE"]
extern {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[no_std];
#![no_std]
// error-pattern:requires `start` lang_item

View file

@ -11,7 +11,7 @@
// error-pattern:mismatched types: expected `char` but found
// Issue #876
#[no_implicit_prelude];
#![no_implicit_prelude]
use std::vec::Vec;
fn last<T>(v: Vec<&T> ) -> std::option::Option<T> {