Test fixes from rollup
This commit is contained in:
parent
bf1ffaf5f4
commit
6d43138b75
5 changed files with 9 additions and 9 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[crate_type = "lib"];
|
||||
#![crate_type = "lib"]
|
||||
|
||||
pub struct Fish {
|
||||
pub x: int
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
// accidentally carried over to each inner function
|
||||
|
||||
fn main() {
|
||||
#[inner_attr];
|
||||
#![inner_attr]
|
||||
#[outer_attr]
|
||||
fn f() { }
|
||||
|
||||
|
|
|
|||
|
|
@ -57,5 +57,5 @@ fn f() { }
|
|||
fn g() { }
|
||||
|
||||
fn h() {
|
||||
#[doc = "as do inner ones"];
|
||||
#![doc = "as do inner ones"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ trait frobable {
|
|||
impl frobable for int {
|
||||
#[frob_attr1]
|
||||
fn frob(&self) {
|
||||
#[frob_attr2];
|
||||
#![frob_attr2]
|
||||
}
|
||||
|
||||
#[defrob_attr1]
|
||||
fn defrob(&self) {
|
||||
#[defrob_attr2];
|
||||
#![defrob_attr2]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue