diff options
Diffstat (limited to 'tests/incremental/issue-51409.rs')
| -rw-r--r-- | tests/incremental/issue-51409.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/incremental/issue-51409.rs b/tests/incremental/issue-51409.rs new file mode 100644 index 00000000000..280094ec04a --- /dev/null +++ b/tests/incremental/issue-51409.rs @@ -0,0 +1,10 @@ +// revisions: rpass1 + +// Regression test that `infer_outlives_predicates` can be +// used with incremental without an ICE. + +struct Foo<'a, T> { + x: &'a T +} + +fn main() { } |
