Skip to content

Commit 5b37ee1

Browse files
authored
Update RELEASES.md
1 parent 283358b commit 5b37ee1

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

RELEASES.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ Language
99
**Syntax-only changes**
1010

1111
- [Expansion-driven outline module parsing][69838]
12+
```rust
13+
#[cfg(FALSE)]
14+
mod foo {
15+
mod bar {
16+
mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
17+
}
18+
}
19+
```
1220

1321
These are still rejected semantically, so you will likely receive an error but
1422
these changes can be seen and parsed by macros and conditional compilation.
@@ -53,6 +61,7 @@ Stabilized APIs
5361
- [`Layout::align_to`]
5462
- [`Layout::pad_to_align`]
5563
- [`Layout::array`]
64+
- [`Layout::extend`]
5665

5766
Cargo
5867
-----
@@ -128,17 +137,18 @@ related tools.
128137
[68334]: https://github.com/rust-lang/rust/pull/68334/
129138
[67502]: https://github.com/rust-lang/rust/pull/67502/
130139
[cargo/8062]: https://github.com/rust-lang/cargo/pull/8062/
131-
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.with_capacity
132-
[`PathBuf::capacity`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.capacity
133-
[`PathBuf::clear`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.clear
134-
[`PathBuf::reserve`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.reserve
135-
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.reserve_exact
136-
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/beta/std/path/struct.PathBuf.html#method.shrink_to_fit
137-
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/beta/std/primitive.f32.html#method.to_int_unchecked
138-
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/beta/std/primitive.f64.html#method.to_int_unchecked
139-
[`Layout::align_to`]: https://doc.rust-lang.org/beta/std/alloc/struct.Layout.html#method.align_to
140-
[`Layout::pad_to_align`]: https://doc.rust-lang.org/beta/std/alloc/struct.Layout.html#method.pad_to_align
141-
[`Layout::array`]: https://doc.rust-lang.org/beta/std/alloc/struct.Layout.html#method.array
140+
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
141+
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
142+
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
143+
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
144+
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
145+
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
146+
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
147+
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
148+
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
149+
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
150+
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
151+
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
142152

143153

144154
Version 1.43.1 (2020-05-07)

0 commit comments

Comments
 (0)