summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/auxiliary/foreign-generic-mismatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generics/auxiliary/foreign-generic-mismatch.rs')
-rw-r--r--tests/ui/generics/auxiliary/foreign-generic-mismatch.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/generics/auxiliary/foreign-generic-mismatch.rs b/tests/ui/generics/auxiliary/foreign-generic-mismatch.rs
new file mode 100644
index 000000000..d89c1e036
--- /dev/null
+++ b/tests/ui/generics/auxiliary/foreign-generic-mismatch.rs
@@ -0,0 +1,3 @@
+pub fn const_arg<const N: usize, T>() {}
+
+pub fn lt_arg<'a: 'a>() {}