@@ -9,6 +9,13 @@ Language
9
9
my_macro!(Vec<i32>::new); // Always worked
10
10
my_macro!(Vec::<i32>::new); // Now works
11
11
```
12
+ - [ You can now use static references for literals.] [ 43838 ]
13
+ Example:
14
+ ```
15
+ fn main() {
16
+ let x: &'static u32 = 0;
17
+ }
18
+ ```
12
19
13
20
Compiler
14
21
--------
@@ -18,8 +25,8 @@ Compiler
18
25
19
26
Libraries
20
27
---------
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 ]
23
30
- [ ` Stdin ` , ` Stdout ` , and ` Stderr ` now implement ` AsRawFd ` .] [ 43459 ]
24
31
- [ ` Rc ` and ` Arc ` now implement ` From<&[T]> where T: Clone ` , ` From<str> ` ,
25
32
` From<String> ` , ` From<Box<T>> where T: ?Sized ` , and ` From<Vec<T>> ` .] [ 42565 ]
38
45
like patterns] [ cargo/4270 ]
39
46
- [ Added the ` --all-targets ` option] [ cargo/4400 ]
40
47
- [ Using required dependencies as a feature is now deprecated and emits
41
- a warning] [ cargo/ ]
48
+ a warning] [ cargo/4364 ]
42
49
43
50
44
51
Misc
50
57
51
58
Compatibility Notes
52
59
-------------------
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 ]
55
62
- [ rustc's JSON error output's byte position start at top of file.] [ 42973 ]
56
63
Was previously relative to the rustc's internal ` CodeMap ` struct which
57
64
required the unstable library ` libsyntax ` to correctly use.
65
+ - [ ` unused_results ` lint no longer ignores booleans] [ 43728 ]
58
66
59
67
[ 42565 ] : https://github.com/rust-lang/rust/pull/42565
60
68
[ 42588 ] : https://github.com/rust-lang/rust/pull/42588
61
69
[ 42973 ] : https://github.com/rust-lang/rust/pull/42973
62
70
[ 43459 ] : https://github.com/rust-lang/rust/pull/43459
63
71
[ 43540 ] : https://github.com/rust-lang/rust/pull/43540
64
72
[ 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
65
75
[ 43863 ] : https://github.com/rust-lang/rust/pull/43863
66
76
[ 43880 ] : https://github.com/rust-lang/rust/pull/43880
67
77
[ 43911 ] : https://github.com/rust-lang/rust/pull/43911
@@ -74,7 +84,7 @@ Compatibility Notes
74
84
[ cargo/4364 ] : https://github.com/rust-lang/cargo/pull/4364
75
85
[ cargo/4400 ] : https://github.com/rust-lang/cargo/pull/4400
76
86
[ RFC 1969 ] : https://github.com/rust-lang/rfcs/pull/1969
77
-
87
+ [ info/43880 ] : https://github.com/rust-lang/rust/issues/44224#issuecomment-330058902
78
88
79
89
Version 1.20.0 (2017-08-31)
80
90
===========================
0 commit comments