@@ -29,23 +29,22 @@ Cargo
29
29
` --locked ` to disable this behaviour.
30
30
- [ ` cargo-install ` will now ignore the target triple specified in a project
31
31
directory's ` .cargo/config ` .] [ cargo/5606 ]
32
- - [ ` cargo-install ` will now allow you to cross compile an install
33
- using ` --target ` ] [ cargo/5614 ]
34
- - [ Added the ` cargo-fix ` to automatically move project code from 2015 edition
35
- to 2018.] [ cargo/5723 ]
32
+ - [ Added the ` cargo-fix ` subcommand to automatically move project code from
33
+ 2015 edition to 2018.] [ cargo/5723 ]
36
34
37
35
Misc
38
36
----
39
- - [ ` rustdoc ` now has the ` --cap-lints ` which allows you to set what level of
40
- lint will cause and compilation failure.] [ 52354 ]
41
- - [ ` rustc ` and ` rustdoc ` will now have the exit code of one if compilation
42
- fails, and 101 if there is a panic.] [ 52197 ]
37
+ - [ ` rustdoc ` now has the ` --cap-lints ` option which demotes all lints above
38
+ the specified level to that level.] [ 52354 ] For example ` --cap-lints warn `
39
+ will demote ` deny ` and ` forbid ` lints to ` warn ` .
40
+ - [ ` rustc ` and ` rustdoc ` will now have the exit code of ` 1 ` if compilation
41
+ fails, and ` 101 ` if there is a panic.] [ 52197 ]
43
42
44
43
Compatibility Notes
45
44
-------------------
46
45
- [ ` str::{slice_unchecked, slice_unchecked_mut} ` are now deprecated.] [ 51807 ]
47
46
Use ` str::get_unchecked(begin..end) ` instead.
48
- - [ ` std::env::home_dir ` is now deprecated for it's unintuitive behaviour.] [ 51656 ]
47
+ - [ ` std::env::home_dir ` is now deprecated for its unintuitive behaviour.] [ 51656 ]
49
48
Consider using the ` home_dir ` function from
50
49
https://crates.io/crates/dirs instead.
51
50
- [ ` rustc ` will no longer silently ignore invalid data in target spec.] [ 52330 ]
@@ -67,7 +66,6 @@ Compatibility Notes
67
66
[ 51178 ] : https://github.com/rust-lang/rust/pull/51178/
68
67
[ 50494 ] : https://github.com/rust-lang/rust/pull/50494/
69
68
[ cargo/5606 ] : https://github.com/rust-lang/cargo/pull/5606/
70
- [ cargo/5614 ] : https://github.com/rust-lang/cargo/pull/5614/
71
69
[ cargo/5723 ] : https://github.com/rust-lang/cargo/pull/5723/
72
70
[ cargo/5831 ] : https://github.com/rust-lang/cargo/pull/5831/
73
71
[ `Arc::downcast` ] : https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast
0 commit comments