diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2024-07-18 11:54:04 -0300 | 
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2024-07-23 00:29:39 -0300 | 
| commit | 8366c7fe9c2db004224648239644f0fbecc185ea (patch) | |
| tree | 9cc89985d3da5ed71da7656d91079d2700ac5d8a /tests/ui/parser/unsafe-foreign-mod-2.rs | |
| parent | 20f23abbecd7ac5e04dd7ccadc29c3824e28a269 (diff) | |
| download | rust-8366c7fe9c2db004224648239644f0fbecc185ea.tar.gz rust-8366c7fe9c2db004224648239644f0fbecc185ea.zip | |
Stabilize unsafe extern blocks (RFC 3484)
Diffstat (limited to 'tests/ui/parser/unsafe-foreign-mod-2.rs')
| -rw-r--r-- | tests/ui/parser/unsafe-foreign-mod-2.rs | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/tests/ui/parser/unsafe-foreign-mod-2.rs b/tests/ui/parser/unsafe-foreign-mod-2.rs index 0b63a993c5b..6d339cd9088 100644 --- a/tests/ui/parser/unsafe-foreign-mod-2.rs +++ b/tests/ui/parser/unsafe-foreign-mod-2.rs @@ -1,8 +1,6 @@ extern "C" unsafe { //~^ ERROR expected `{`, found keyword `unsafe` - //~| ERROR extern block cannot be declared unsafe unsafe fn foo(); - //~^ ERROR items in unadorned `extern` blocks cannot have safety qualifiers } fn main() {} | 
