Skip to content

librustc: Disallow "unsafe" for external functions - #8235

Closed
pcwalton wants to merge 2 commits into
rust-lang:masterfrom
pcwalton:unsafe-extern-fns
Closed

librustc: Disallow "unsafe" for external functions#8235
pcwalton wants to merge 2 commits into
rust-lang:masterfrom
pcwalton:unsafe-extern-fns

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

…x to it.
This is preparation for removing `@fn`.
This does *not* use default methods yet, because I don't know
whether they work. If they do, a forthcoming PR will use them.
This also changes the precedence of `as`.
@borsbors closed this Aug 3, 2013
@huonwhuonw mentioned this pull request Aug 18, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 10, 2022
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 10, 2022
…steffen
Add `default_union_representation` lint
Closesrust-lang#8235
changelog: Added a new lint [`default_union_representation`]
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
8235: internal: make --log-file more discoverable r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pcwalton@bors