1
Fork 0

Remove some errors in UI tests

As we now need to run THIR unsafeck before MIR build, errors in unsafeck can cause the compilation to be aborted earlier.
This commit is contained in:
LeSeulArtichaut 2021-05-15 11:42:10 +02:00
parent 6dfdea9800
commit 3797b0335a
4 changed files with 5 additions and 29 deletions

View file

@ -16,6 +16,6 @@ async fn g() {
}
fn main() {
S::f(); //~ ERROR call to unsafe function is unsafe
f(); //~ ERROR call to unsafe function is unsafe
S::f(); //[mir]~ ERROR call to unsafe function is unsafe
f(); //[mir]~ ERROR call to unsafe function is unsafe
}