update test description

This commit is contained in:
lcnr 2024-09-21 07:05:51 +00:00
parent 7aeb07a583
commit 30ec8bb5e9

View File

@ -3,9 +3,9 @@
//@ check-pass
// The new trait solver does not return region constraints if the goal
// is still ambiguous. This causes the following test to fail with ambiguity,
// even though `(): LeakCheckFailure<'!a, V>` would return `'!a: 'static`
// which would have caused a leak check failure.
// is still ambiguous. However, the `'!a = 'static` constraint from
// `(): LeakCheckFailure<'!a, V>` is also returned via the canonical
// var values, causing this test to compile.
trait Ambig {}
impl Ambig for u32 {}