]> git.lizzy.rs Git - rust.git/blobdiff - RELEASES.md
Rollup merge of #53465 - bjorn3:remove_link_meta_struct, r=varkor
[rust.git] / RELEASES.md
index 2f9dfb65f7d395ed41bd6530084f4e87d61f9135..088d361b7ea6a961fca3219ef3d5be9d4b1431c7 100644 (file)
@@ -27,25 +27,24 @@ Cargo
 -----
 - [Cargo can silently fix some bad lockfiles ][cargo/5831] You can use
   `--locked` to disable this behaviour.
-- [`cargo-install` will now ignore the target triple specified in a project
-  directory's `.cargo/config`.][cargo/5606]
 - [`cargo-install` will now allow you to cross compile an install
   using `--target`][cargo/5614]
-- [Added the `cargo-fix` to automatically move project code from 2015 edition
-  to 2018.][cargo/5723]
+- [Added the `cargo-fix` subcommand to automatically move project code from
+  2015 edition to 2018.][cargo/5723]
 
 Misc
 ----
-- [`rustdoc` now has the `--cap-lints` which allows you to set what level of
-  lint will cause and compilation failure.][52354]
-- [`rustc` and `rustdoc` will now have the exit code of one if compilation
-  fails, and 101 if there is a panic.][52197]
+- [`rustdoc` now has the `--cap-lints` option which demotes all lints above
+  the specified level to that level.][52354] For example `--cap-lints warn`
+  will demote `deny` and `forbid` lints to `warn`.
+- [`rustc` and `rustdoc` will now have the exit code of `1` if compilation
+  fails, and `101` if there is a panic.][52197]
 
 Compatibility Notes
 -------------------
 - [`str::{slice_unchecked, slice_unchecked_mut}` are now deprecated.][51807]
   Use `str::get_unchecked(begin..end)` instead.
-- [`std::env::home_dir` is now deprecated for it's unintuitive behaviour.][51656]
+- [`std::env::home_dir` is now deprecated for its unintuitive behaviour.][51656]
   Consider using the `home_dir` function from
   https://crates.io/crates/dirs instead.
 - [`rustc` will no longer silently ignore invalid data in target spec.][52330]
@@ -66,13 +65,12 @@ Compatibility Notes
 [51656]: https://github.com/rust-lang/rust/pull/51656/
 [51178]: https://github.com/rust-lang/rust/pull/51178/
 [50494]: https://github.com/rust-lang/rust/pull/50494/
-[cargo/5606]: https://github.com/rust-lang/cargo/pull/5606/
 [cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/
 [cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/
 [cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/
 [`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast
 [`Iterator::flatten`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten
-[`Rc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Rc.html#method.downcast
+[`Rc::downcast`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.downcast
 
 
 Version 1.28.0 (2018-08-02)
@@ -221,7 +219,7 @@ Compatibility Notes
 [`alloc::handle_alloc_error`]: https://doc.rust-lang.org/std/alloc/fn.handle_alloc_error.html
 [`btree_map::Entry::or_default`]: https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.or_default
 [`fmt::Alignment`]: https://doc.rust-lang.org/std/fmt/enum.Alignment.html
-[`hash_map::Entry::or_default`]: https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.or_default
+[`hash_map::Entry::or_default`]: https://doc.rust-lang.org/std/collections/hash_map/enum.Entry.html#method.or_default
 [`iter::repeat_with`]: https://doc.rust-lang.org/std/iter/fn.repeat_with.html
 [`num::NonZeroUsize`]: https://doc.rust-lang.org/std/num/struct.NonZeroUsize.html
 [`num::NonZeroU128`]: https://doc.rust-lang.org/std/num/struct.NonZeroU128.html