Debian Codegraph @

third_party/rust/async-trait/tests/ui/unreachable.rs

raw
1 #![deny(warnings)]
2
3 use async_trait::async_trait;
4
5 #[async_trait]
6 pub trait Trait {
7 async fn f() {
8 unimplemented!()
9 }
10 }
11
12 #[async_trait]
13 pub trait TraitFoo {
14 async fn f() {
15 let _y = unimplemented!();
16 let _z = _y;
17 }
18 }
19
20 fn main() {}