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:
parent
6dfdea9800
commit
3797b0335a
4 changed files with 5 additions and 29 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue