Skip to content

Commit

Permalink
Add comment explaining purpose of test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Mar 10, 2016
1 parent 59279b5 commit 0ddc17d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/compile-fail/issue-30580.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Test that we do not see uninformative region-related errors
// when we get some basic type-checking failure. See #30580.

pub struct Foo { a: u32 }
pub struct Pass<'a, 'tcx: 'a>(&'a mut &'a (), &'a &'tcx ());

Expand Down

0 comments on commit 0ddc17d

Please sign in to comment.