]> git.lizzy.rs Git - rust.git/blob - tests/target/paths.rs
Add failure mode to `write_list`
[rust.git] / tests / target / paths.rs
1
2 fn main() {
3     let constellation_chan =
4         Constellation::<layout::layout_task::LayoutTask,
5                         script::script_task::ScriptTask>::start(compositor_proxy,
6                                                                 resource_task,
7                                                                 image_cache_task,
8                                                                 font_cache_task,
9                                                                 time_profiler_chan,
10                                                                 mem_profiler_chan,
11                                                                 devtools_chan,
12                                                                 storage_task,
13                                                                 supports_clipboard);
14
15     Quux::<ParamOne /* Comment 1 */, ParamTwo /* Comment 2 */>::some_func();
16
17     <*mut JSObject>::relocate(entry);
18 }
19
20 fn op(foo: Bar, key: &[u8], upd: Fn(Option<&memcache::Item>, Baz) -> Result) -> MapResult {
21 }