Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,17 +0,0 @@
|
|||
// check-pass
|
||||
// edition: 2021
|
||||
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![feature(return_position_impl_trait_in_trait)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
use std::future::Future;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
trait Lockable<K, V> {
|
||||
async fn lock_all_entries(&self) -> impl Future<Output = Guard<'_>>;
|
||||
}
|
||||
|
||||
struct Guard<'a>(PhantomData<&'a ()>);
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue