X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Ftarget%2Fpaths.rs;h=f1b142b3a5c46096e6d8d2096e17190cdd0e5ae8;hb=15ec5b291292f87697b32f30cc31f863538959a2;hp=fd97bb4d71c3592a419a118554883892ef61dfb7;hpb=db79a5aec5055b58c5f8f576adc1aa551087bce6;p=rust.git diff --git a/tests/target/paths.rs b/tests/target/paths.rs index fd97bb4d71c..f1b142b3a5c 100644 --- a/tests/target/paths.rs +++ b/tests/target/paths.rs @@ -15,7 +15,8 @@ fn main() { Quux::::some_func(); <*mut JSObject>::relocate(entry); -} -fn op(foo: Bar, key: &[u8], upd: Fn(Option<&memcache::Item>, Baz) -> Result) -> MapResult { + let x: Foo; } + +fn op(foo: Bar, key: &[u8], upd: Fn(Option<&memcache::Item>, Baz) -> Result) -> MapResult {}