Resolve breakage

This commit is contained in:
Simonas Kazlauskas
2019-01-19 00:37:52 +02:00
parent 89e34d3e32
commit ce289c6c99
7 changed files with 46 additions and 61 deletions

View File

@@ -1,12 +1,3 @@
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_type="rlib"]
#![optimize(speed)] //~ ERROR #54882
@@ -19,7 +10,9 @@ fn size() {}
#[optimize(speed)] //~ ERROR #54882
fn speed() {}
#[optimize(banana)] //~ ERROR #54882
#[optimize(banana)]
//~^ ERROR #54882
//~| ERROR E0722
fn not_known() {}
}