Skip to content

Commit 045b4f1

Browse files
authored
Update RELEASES.md
1 parent 3c6a800 commit 045b4f1

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

Diff for: RELEASES.md

+16-6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Language
99
my_macro!(Vec<i32>::new); // Always worked
1010
my_macro!(Vec::<i32>::new); // Now works
1111
```
12+
- [You can now use static references for literals.][43838]
13+
Example:
14+
```
15+
fn main() {
16+
let x: &'static u32 = 0;
17+
}
18+
```
1219

1320
Compiler
1421
--------
@@ -18,8 +25,8 @@ Compiler
1825

1926
Libraries
2027
---------
21-
- [Generate builtin impls for `Clone` for `[T; N]` where `N` is between 0
22-
and 32][43690]
28+
- [Generate builtin impls for `Clone` for all arrays and tuples that
29+
are `T: Clone`][43690]
2330
- [`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.][43459]
2431
- [`Rc` and `Arc` now implement `From<&[T]> where T: Clone`, `From<str>`,
2532
`From<String>`, `From<Box<T>> where T: ?Sized`, and `From<Vec<T>>`.][42565]
@@ -38,7 +45,7 @@ Cargo
3845
like patterns][cargo/4270]
3946
- [Added the `--all-targets` option][cargo/4400]
4047
- [Using required dependencies as a feature is now deprecated and emits
41-
a warning][cargo/]
48+
a warning][cargo/4364]
4249

4350

4451
Misc
@@ -50,18 +57,21 @@ Misc
5057

5158
Compatibility Notes
5259
-------------------
53-
- [Remove the trait selection impl in method::probe][43880] This may cause
54-
breakage in subtyping corner cases.
60+
- [Changes in method matching against higher-ranked types][43880] This may cause
61+
breakage in subtyping corner cases. [A more in-depth explanation is available.][info/43880]
5562
- [rustc's JSON error output's byte position start at top of file.][42973]
5663
Was previously relative to the rustc's internal `CodeMap` struct which
5764
required the unstable library `libsyntax` to correctly use.
65+
- [`unused_results` lint no longer ignores booleans][43728]
5866

5967
[42565]: https://github.com/rust-lang/rust/pull/42565
6068
[42588]: https://github.com/rust-lang/rust/pull/42588
6169
[42973]: https://github.com/rust-lang/rust/pull/42973
6270
[43459]: https://github.com/rust-lang/rust/pull/43459
6371
[43540]: https://github.com/rust-lang/rust/pull/43540
6472
[43690]: https://github.com/rust-lang/rust/pull/43690
73+
[43728]: https://github.com/rust-lang/rust/pull/43728
74+
[43838]: https://github.com/rust-lang/rust/pull/43838
6575
[43863]: https://github.com/rust-lang/rust/pull/43863
6676
[43880]: https://github.com/rust-lang/rust/pull/43880
6777
[43911]: https://github.com/rust-lang/rust/pull/43911
@@ -74,7 +84,7 @@ Compatibility Notes
7484
[cargo/4364]: https://github.com/rust-lang/cargo/pull/4364
7585
[cargo/4400]: https://github.com/rust-lang/cargo/pull/4400
7686
[RFC 1969]: https://github.com/rust-lang/rfcs/pull/1969
77-
87+
[info/43880]: https://github.com/rust-lang/rust/issues/44224#issuecomment-330058902
7888

7989
Version 1.20.0 (2017-08-31)
8090
===========================

0 commit comments

Comments
 (0)