Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move regression test from
compile-fail/
to ui/
test directory.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
error: free region `'a` does not outlive free region `'static` | ||
--> $DIR/issue-50716.rs:25:14 | ||
| | ||
LL | let _x = *s; //~ ERROR free region `'a` does not outlive free region `'static` | ||
| ^^ | ||
|
||
error: aborting due to previous error | ||
|