// Test of lots of random stuff.
// FIXME split this into multiple, self-contained tests.
-
#[attr1]
extern crate foo;
#[attr2]
extern crate foo;
use std::cell::*;
-use std::{self, any, ascii, borrow, boxed, char, borrow, boxed, char, borrow, borrow, boxed, char,
- borrow, boxed, char, borrow, boxed, char, borrow, boxed, char, borrow, boxed, char,
- borrow, boxed, char, borrow, boxed, char, borrow, boxed, char};
+use std::{self, any, ascii, borrow, borrow, borrow, borrow, borrow, borrow, borrow, borrow,
+ borrow, borrow, borrow, boxed, boxed, boxed, boxed, boxed, boxed, boxed, boxed, boxed,
+ boxed, char, char, char, char, char, char, char, char, char, char};
mod doc;
mod other;
-
// sfdgfffffffffffffffffffffffffffffffffffffffffffffffffffffff
// ffffffffffffffffffffffffffffffffffffffffff
}
fn baz<
- 'a: 'b, // comment on 'a
- T: SomsssssssssssssssssssssssssssssssssssssssssssssssssssssseType, /* comment on T */
+ 'a: 'b, // comment on 'a
+ T: SomsssssssssssssssssssssssssssssssssssssssssssssssssssssseType, // comment on T
>(
a: A,
b: B, // comment on b
fn foo(
&mut self,
a: sdfsdfcccccccccccccccccccccccccccccccccccccccccccccccccc, // comment on a
- b: sdfasdfsdfasfs, // closing comment
+ b: sdfasdfsdfasfs, // closing comment
) -> isize {
}
println!("{}", i);
}
-
while true {
hello();
}
let s = expand(a, b);
}
-fn deconstruct()
- -> (SocketAddr,
- Method,
- Headers,
- RequestUri,
- HttpVersion,
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
-{
+fn deconstruct() -> (
+ SocketAddr,
+ Method,
+ Headers,
+ RequestUri,
+ HttpVersion,
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
+) {
}
fn deconstruct(
foo: Bar,
-) -> (SocketAddr,
- Method,
- Headers,
- RequestUri,
- HttpVersion,
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) {
+) -> (
+ SocketAddr,
+ Method,
+ Headers,
+ RequestUri,
+ HttpVersion,
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
+) {
}
#[rustfmt_skip]