This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-04 22:17:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
40d1cb406d
rust
/
tests
/
ui
/
unsafe
/
unsafe-fn-called-from-safe.rs
9 lines
107 B
Rust
Raw
Normal View
History
Unescape
Escape
Stabilize THIR unsafeck
2023-12-07 11:56:48 +00:00
unsafe
fn
f
(
)
{
return
;
}
Add unsafe blocks, unsafe functions, and two rudimentary tests related to them
2011-10-07 04:33:04 +00:00
fn
main
(
)
{
Revert "add `DefId` to unsafety violations and display function path in E0133" This reverts commit 8b8f6653cfd54525714f02efe7af0a0f830e185c.
2022-04-26 10:43:00 +00:00
f
(
)
;
Stabilize THIR unsafeck
2023-12-07 11:56:48 +00:00
//~^ ERROR call to unsafe function `f` is unsafe
Add unsafe blocks, unsafe functions, and two rudimentary tests related to them
2011-10-07 04:33:04 +00:00
}
Reference in New Issue
Copy Permalink