summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/infer-from-object-issue-26952.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/infer-from-object-issue-26952.rs')
-rw-r--r--tests/ui/traits/infer-from-object-issue-26952.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/traits/infer-from-object-issue-26952.rs b/tests/ui/traits/infer-from-object-issue-26952.rs
index ed258dbb2..9544b4f20 100644
--- a/tests/ui/traits/infer-from-object-issue-26952.rs
+++ b/tests/ui/traits/infer-from-object-issue-26952.rs
@@ -1,8 +1,8 @@
// run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
-// Test that when we match a trait reference like `Foo<A>: Foo<_#0t>`,
-// we unify with `_#0t` with `A`. In this code, if we failed to do
+// Test that when we match a trait reference like `Foo<A>: Foo<?0t>`,
+// we unify with `?0t` with `A`. In this code, if we failed to do
// that, then you get an unconstrained type-variable in `call`.
//
// Also serves as a regression test for issue #26952, though the test