mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
12 lines
238 B
Rust
12 lines
238 B
Rust
//@ run-pass
|
|
// ^-- The above is needed as this issue is related to LLVM/codegen.
|
|
|
|
fn main() {
|
|
type_error(|x| &x);
|
|
}
|
|
|
|
fn type_error<T>(
|
|
_selector: for<'a> fn(&'a Vec<Box<dyn for<'b> Fn(&'b u8)>>) -> &'a Vec<Box<dyn Fn(T)>>,
|
|
) {
|
|
}
|