Skip to content

Commit 0ddc17d

Browse files
committed
Add comment explaining purpose of test
1 parent 59279b5 commit 0ddc17d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/compile-fail/issue-30580.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// Test that we do not see uninformative region-related errors
12+
// when we get some basic type-checking failure. See #30580.
13+
1114
pub struct Foo { a: u32 }
1215
pub struct Pass<'a, 'tcx: 'a>(&'a mut &'a (), &'a &'tcx ());
1316

0 commit comments

Comments
 (0)