mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
7 lines
179 B
Rust
7 lines
179 B
Rust
// Type mentions required by type inference
|
|
|
|
use std::future::Future;
|
|
fn mention_dyn_future<T>(f: &dyn Future<Output = T>) {}
|
|
|
|
fn mention_dyn_fn_once<F>(f: &dyn FnOnce() -> F) {}
|