mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Rust: Improve type inference for closures and function traits
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
use std::future::Future;
|
||||
fn mention_dyn_future<T>(f: &dyn Future<Output = T>) {}
|
||||
|
||||
fn mention_dyn_fn_once<F>(f: &dyn FnOnce() -> F) {}
|
||||
fn mention_dyn_fn_once<F>(f: &dyn Fn() -> F) {}
|
||||
|
||||
Reference in New Issue
Block a user