Move regression test from compile-fail/ to ui/ test directory.

This commit is contained in:
Felix S. Klock II 2018-05-30 16:23:54 +02:00 committed by Vytautas Astrauskas
parent 8b1ea84265
commit f288b87c23
2 changed files with 8 additions and 0 deletions

View File

@ -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