rust-lang / reference

The Rust Reference
https://doc.rust-lang.org/nightly/reference/
Apache License 2.0
1.25k stars 491 forks source link

Changes for unsafe extern blocks (RFC 3484) #1536

Closed spastorino closed 3 months ago

spastorino commented 4 months ago

This goes after this is merged:

...and CI should be happy after that.

I'd say that also this is kind of WIP until someone wouldn't mind fixing my broken english :).

r? @traviscross

Tracking:

ehuss commented 4 months ago

I pushed some updates here. The major change is to update the grammar, as it should be documenting the pre-validation grammar (since that is what is used for macros).

ehuss commented 4 months ago

I'll also note that this includes 2024 edition content. I kinda wanted to avoid that, since it is not yet stabilized. I may pull that out into a separate PR before merging this to hold to our process of not documenting unstable features.

spastorino commented 3 months ago

@traviscross @ehuss this is now ready as https://github.com/rust-lang/rust/pull/127921 is merged. I've rebased and retriggered CI tests and CI is happy now.