]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/abi/rustcall-generic.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / abi / rustcall-generic.rs
index 411c98e10313db9871334e3974ece925f0d6a7c5..6eaccc436b699b036b4e2c4021c1d7b9d400a5ed 100644 (file)
@@ -2,9 +2,9 @@
 // check-pass
 //[opt] compile-flags: -Zmir-opt-level=3
 
-#![feature(unboxed_closures)]
+#![feature(unboxed_closures, tuple_trait)]
 
-extern "rust-call" fn foo<T>(_: T) {}
+extern "rust-call" fn foo<T: std::marker::Tuple>(_: T) {}
 
 fn main() {
     foo(());