Skip to content

Commit 477a820

Browse files
fix typo in test explanation
1 parent a2e305d commit 477a820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/regions/closure-prop-issue-148289.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ check-pass
22
// This test checks that the compiler does not propagate 'd: 'c when propagating region errors
33
// for the closure argument. If it did, this would fail to compile, eventhough it's a valid program.
4-
// It should only propagate 'd: 'c.
4+
// It should only propagate 'd: 'b.
55
// PR #148329 explains this in detail.
66

77
#[derive(Clone, Copy)]

0 commit comments

Comments
 (0)