Skip to content

Commit 9f9f2c0

Browse files
committed
Auto merge of #53530 - kennytm:rollup, r=kennytm
Rollup of 17 pull requests Successful merges: - #53030 (Updated RELEASES.md for 1.29.0) - #53104 (expand the documentation on the `Unpin` trait) - #53213 (Stabilize IP associated constants) - #53296 (When closure with no arguments was expected, suggest wrapping) - #53329 (Replace usages of ptr::offset with ptr::{add,sub}.) - #53363 (add individual docs to `core::num::NonZero*`) - #53370 (Stabilize macro_vis_matcher) - #53393 (Mark libserialize functions as inline) - #53405 (restore the page title after escaping out of a search) - #53452 (Change target triple used to check for lldb in build-manifest) - #53462 (Document Box::into_raw returns non-null ptr) - #53465 (Remove LinkMeta struct) - #53492 (update lld submodule to include RISCV patch) - #53496 (Fix typos found by codespell.) - #53521 (syntax: Optimize some literal parsing) - #53540 (Moved issue-53157.rs into src/test/ui/consts/const-eval/) - #53551 (Avoid some Place clones.) Failed merges: r? @ghost
2 parents a9d4967 + e3887e6 commit 9f9f2c0

File tree

183 files changed

+571
-510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+571
-510
lines changed

RELEASES.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,78 @@
1+
Version 1.29.0 (2018-09-13)
2+
==========================
3+
4+
Compiler
5+
--------
6+
- [Bumped minimum LLVM version to 5.0.][51899]
7+
- [Added `powerpc64le-unknown-linux-musl` target.][51619]
8+
- [Added `aarch64-unknown-hermit` and `x86_64-unknown-hermit` targets.][52861]
9+
10+
Libraries
11+
---------
12+
- [`Once::call_once` now no longer requires `Once` to be `'static`.][52239]
13+
- [`BuildHasherDefault` now implements `PartialEq` and `Eq`.][52402]
14+
- [`Box<CStr>`, `Box<OsStr>`, and `Box<Path>` now implement `Clone`.][51912]
15+
- [Implemented `PartialEq<&str>` for `OsString` and `PartialEq<OsString>`
16+
for `&str`.][51178]
17+
- [`Cell<T>` now allows `T` to be unsized.][50494]
18+
- [`SocketAddr` is now stable on Redox.][52656]
19+
20+
Stabilized APIs
21+
---------------
22+
- [`Arc::downcast`]
23+
- [`Iterator::flatten`]
24+
- [`Rc::downcast`]
25+
26+
Cargo
27+
-----
28+
- [Cargo can silently fix some bad lockfiles ][cargo/5831] You can use
29+
`--locked` to disable this behaviour.
30+
- [`cargo-install` will now allow you to cross compile an install
31+
using `--target`][cargo/5614]
32+
- [Added the `cargo-fix` subcommand to automatically move project code from
33+
2015 edition to 2018.][cargo/5723]
34+
35+
Misc
36+
----
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]
42+
43+
Compatibility Notes
44+
-------------------
45+
- [`str::{slice_unchecked, slice_unchecked_mut}` are now deprecated.][51807]
46+
Use `str::get_unchecked(begin..end)` instead.
47+
- [`std::env::home_dir` is now deprecated for its unintuitive behaviour.][51656]
48+
Consider using the `home_dir` function from
49+
https://crates.io/crates/dirs instead.
50+
- [`rustc` will no longer silently ignore invalid data in target spec.][52330]
51+
52+
[52861]: https://github.com/rust-lang/rust/pull/52861/
53+
[52656]: https://github.com/rust-lang/rust/pull/52656/
54+
[52239]: https://github.com/rust-lang/rust/pull/52239/
55+
[52330]: https://github.com/rust-lang/rust/pull/52330/
56+
[52354]: https://github.com/rust-lang/rust/pull/52354/
57+
[52402]: https://github.com/rust-lang/rust/pull/52402/
58+
[52103]: https://github.com/rust-lang/rust/pull/52103/
59+
[52197]: https://github.com/rust-lang/rust/pull/52197/
60+
[51807]: https://github.com/rust-lang/rust/pull/51807/
61+
[51899]: https://github.com/rust-lang/rust/pull/51899/
62+
[51912]: https://github.com/rust-lang/rust/pull/51912/
63+
[51511]: https://github.com/rust-lang/rust/pull/51511/
64+
[51619]: https://github.com/rust-lang/rust/pull/51619/
65+
[51656]: https://github.com/rust-lang/rust/pull/51656/
66+
[51178]: https://github.com/rust-lang/rust/pull/51178/
67+
[50494]: https://github.com/rust-lang/rust/pull/50494/
68+
[cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/
69+
[cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/
70+
[cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/
71+
[`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast
72+
[`Iterator::flatten`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten
73+
[`Rc::downcast`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.downcast
74+
75+
176
Version 1.28.0 (2018-08-02)
277
===========================
378

src/ci/docker/scripts/musl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ shift
3232

3333
export CFLAGS="-fPIC $CFLAGS"
3434

35-
# FIXME: remove the patch when upate to 1.1.20
35+
# FIXME: remove the patch when updating to 1.1.20
3636
MUSL=musl-1.1.19
3737

3838
# may have been downloaded in a previous run

src/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ minimum. It also includes exercises!
3434

3535
# Use Rust
3636

37-
Once you've gotten familliar with the language, these resources can help you
37+
Once you've gotten familiar with the language, these resources can help you
3838
when you're actually using it day-to-day.
3939

4040
## The Standard Library

src/doc/rustc/src/codegen-options/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This option allows you to put extra data in each output filename.
153153
This flag lets you control how many threads are used when doing
154154
code generation.
155155

156-
Increasing paralellism may speed up compile times, but may also
156+
Increasing parallelism may speed up compile times, but may also
157157
produce slower code.
158158

159159
## remark

src/doc/rustc/src/lints/listing/deny-by-default.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mod m {
5656
pub struct S(u8);
5757
5858
fn f() {
59-
// this is trying to use S from the 'use' line, but becuase the `u8` is
59+
// this is trying to use S from the 'use' line, but because the `u8` is
6060
// not pub, it is private
6161
::S;
6262
}
@@ -103,7 +103,7 @@ This warning can always be fixed by removing the unused pattern in the
103103

104104
## mutable-transmutes
105105

106-
This lint catches transmuting from `&T` to `&mut T` becuase it is undefined
106+
This lint catches transmuting from `&T` to `&mut T` because it is undefined
107107
behavior. Some example code that triggers this lint:
108108

109109
```rust,ignore

src/doc/rustdoc/src/unstable-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Unstable features
22

3-
Rustdoc is under active developement, and like the Rust compiler, some features are only available
3+
Rustdoc is under active development, and like the Rust compiler, some features are only available
44
on the nightly releases. Some of these are new and need some more testing before they're able to get
55
released to the world at large, and some of them are tied to features in the Rust compiler that are
66
themselves unstable. Several features here require a matching `#![feature(...)]` attribute to

src/doc/unstable-book/src/language-features/infer-outlives-requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ The tracking issue for this feature is: [#44493]
66

77
------------------------
88
The `infer_outlives_requirements` feature indicates that certain
9-
outlives requirements can be infered by the compiler rather than
9+
outlives requirements can be inferred by the compiler rather than
1010
stating them explicitly.
1111

1212
For example, currently generic struct definitions that contain
1313
references, require where-clauses of the form T: 'a. By using
14-
this feature the outlives predicates will be infered, although
14+
this feature the outlives predicates will be inferred, although
1515
they may still be written explicitly.
1616

1717
```rust,ignore (pseudo-Rust)

src/doc/unstable-book/src/language-features/infer-static-outlives-requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ The tracking issue for this feature is: [#44493]
66

77
------------------------
88
The `infer_static_outlives_requirements` feature indicates that certain
9-
`'static` outlives requirements can be infered by the compiler rather than
9+
`'static` outlives requirements can be inferred by the compiler rather than
1010
stating them explicitly.
1111

1212
Note: It is an accompanying feature to `infer_outlives_requirements`,
1313
which must be enabled to infer outlives requirements.
1414

1515
For example, currently generic struct definitions that contain
1616
references, require where-clauses of the form T: 'static. By using
17-
this feature the outlives predicates will be infered, although
17+
this feature the outlives predicates will be inferred, although
1818
they may still be written explicitly.
1919

2020
```rust,ignore (pseudo-Rust)

src/doc/unstable-book/src/language-features/macro-vis-matcher.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/doc/unstable-book/src/language-features/plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ that warns about any item named `lintme`.
183183
```rust,ignore
184184
#![feature(plugin_registrar)]
185185
#![feature(box_syntax, rustc_private)]
186-
#![feature(macro_vis_matcher)]
187186
#![feature(macro_at_most_once_rep)]
188187
189188
extern crate syntax;

0 commit comments

Comments
 (0)