auto merge of #13493 : Manishearth/rust/newattr-everywhere, r=alexcrichton
See #13478
This commit is contained in:
commit
246ebd2d5a
473 changed files with 607 additions and 607 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// error-pattern: unreachable statement
|
||||
|
||||
#[deny(unreachable_code)];
|
||||
#![deny(unreachable_code)]
|
||||
|
||||
fn main() {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
|
||||
// error-pattern: missing documentation for crate
|
||||
|
||||
#[deny(missing_doc)];
|
||||
#[crate_type="lib"];
|
||||
#![deny(missing_doc)]
|
||||
#![crate_type="lib"]
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// error-pattern: unreachable statement
|
||||
|
||||
#[deny(unreachable_code)];
|
||||
#![deny(unreachable_code)]
|
||||
|
||||
fn f() -> ! {
|
||||
return fail!();
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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 {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue