2 fn simple(/*pre-comment on a function!?*/ i: i32/*yes, it's possible! */
3 ,response: NoWay /* hose */) {
4 fn op(x: Typ, key : &[u8], upd : Box<Fn(Option<&memcache::Item>) -> (memcache::Status, Result<memcache::Item, Option<String>>)>) -> MapResult {}
9 fn weird_comment(/* /*/ double level */ comment */ x: Hello /*/*/* tripple, even */*/*/,
13 simple(/* does this preserve comments now? */ 42, NoWay)
16 fn generic<T>(arg: T) -> &SomeType
17 where T: Fn(// First arg
20 B, C, D, /* pre comment */ E /* last comment */) -> &SomeType {
26 pub fn http_fetch_async(listener:Box< AsyncCORSResponseListener+Send >, script_chan: Box<ScriptChan+Send>) {
29 fn some_func<T:Box<Trait+Bound>>(val:T){}
31 fn zzzzzzzzzzzzzzzzzzzz<Type, NodeType>
32 (selff: Type, mut handle: node::Handle<IdRef<'id, Node<K, V>>, Type, NodeType>)
33 -> SearchStack<'a, K, V, Type, NodeType>{
36 unsafe fn generic_call(cx: *mut JSContext, argc: libc::c_uint, vp: *mut JSVal,
38 call: unsafe extern fn(*const JSJitInfo, *mut JSContext,
39 HandleObject, *mut libc::c_void, u32,
42 let f: fn ( _ , _ ) -> _ = panic!() ;
45 pub fn start_export_thread<C: CryptoSchemee + 'static>(database: &Database, crypto_scheme: &C, block_size: usize, source_path: &Path) -> BonzoResult<mpsc::Consumer<'static, FileInstruction>> {}