mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Rollup merge of #55348 - pietroalbini:backport-stable-notes, r=pietroalbini
Backports the release notes update from stable to master. r? @ghost
This commit is contained in:
commit
ea5aad66b4
|
@ -25,9 +25,6 @@ Language
|
||||||
macros, it is recommended to export with the
|
macros, it is recommended to export with the
|
||||||
`#[macro_export(local_inner_macros)]` attribute so users won't have to import
|
`#[macro_export(local_inner_macros)]` attribute so users won't have to import
|
||||||
those macros.
|
those macros.
|
||||||
- [`mod.rs` files are now optional.][54146] Previously, if you had a `foo` module
|
|
||||||
with a `bar` submodule, you would have `src/foo/mod.rs` and `src/foo/bar.rs`.
|
|
||||||
Now you can have `src/foo.rs` and `src/foo/bar.rs` to achieve the same effect.
|
|
||||||
- [You can now catch visibility keywords (e.g. `pub`, `pub(crate)`) in macros
|
- [You can now catch visibility keywords (e.g. `pub`, `pub(crate)`) in macros
|
||||||
using the `vis` specifier.][53370]
|
using the `vis` specifier.][53370]
|
||||||
- [Non-macro attributes now allow all forms of literals, not just
|
- [Non-macro attributes now allow all forms of literals, not just
|
||||||
|
|
Loading…
Reference in a new issue