8000 Rollup of 17 pull requests by JohnTitor · Pull Request #78270 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 17 pull requests #78270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 46 commits into from
Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a7bd6c4
Link to "Contributing to Rust" rather than "Getting Started".
follower Sep 27, 2020
81edbbc
Implement TryFrom between NonZero types.
m-ou-se Sep 29, 2020
0c32e81
Fixing escaping to ensure generation of welformed json.
gilescope Oct 13, 2020
a93f58f
Join map operators
wcampbell0x2a Oct 13, 2020
964a5ac
Use is_ok() instead of empty Ok(_)
wcampbell0x2a Oct 13, 2020
abfbd1b
Avoid extraneous space between visibility kw and ident for statics
ayazhafiz Oct 13, 2020
e60072f
fixup! Avoid extraneous space between visibility kw and ident for sta…
ayazhafiz Oct 13, 2020
000ec5e
Made slice sort documentation consistent between stable and unstable …
ryan-scott-dev Oct 14, 2020
8446d94
Following #74010 by converting some newer cases of backticked O notat…
ryan-scott-dev Oct 14, 2020
b9db54b
Bump nzint_try_from_nzint_conv stabilization version to 1.49.
m-ou-se Oct 15, 2020
5948e62
Sync LLVM submodule if it has been initialized
est31 Oct 20, 2020
e852a4a
Update cargo
ehuss Oct 20, 2020
e0b6111
Mark `repr128` as `incomplete_features`
varkor Oct 3, 2020
d725da1
Clean up and improve some docs
camelid Oct 19, 2020
769b410
Make closures inherit the parent function's target features
LeSeulArtichaut Oct 22, 2020
683db31
Fix clippy tests
varkor Oct 22, 2020
b4a9854
Fixup: add missing trailing newline
LeSeulArtichaut Oct 22, 2020
36a5244
Explain where the closure return type was inferred
Aaron1011 Oct 22, 2020
954b5a8
Rename parse_const_expr to parse_const_block
spastorino Oct 20, 2020
f8842b9
Make inline const work in range patterns
spastorino Oct 19, 2020
83abed9
Make inline const work for half open ranges
spastorino Oct 19, 2020
5bef429
Add ..= const { .. } missing tests and sort them properly
spastorino Oct 20, 2020
5656a41
Bless tests
spastorino Oct 20, 2020
13bc087
Clean up lib docs
camelid Oct 19, 2020
f82adf5
Add test of incompatible match arm types with multiline arm
dtolnay Oct 22, 2020
b005950
Reduce diagram mess in 'match arms have incompatible types' error
dtolnay Oct 22, 2020
5b32c84
Add a regression test for issue-72616
JohnTitor Oct 23, 2020
043fab3
Make it regression test of issue-77668
JohnTitor Oct 23, 2020
98e1316
Add regression test for issue-71732
JohnTitor Oct 23, 2020
b40ca64
Rollup merge of #77268 - follower:patch-3, r=jyn514
JohnTitor Oct 23, 2020
8e37330
Rollup merge of #77339 - fusion-engineering-forks:tryfrom-nonzero-to-…
JohnTitor Oct 23, 2020
da3e41e
Rollup merge of #77488 - varkor:repr128-incomplete_features, r=jonas-…
JohnTitor Oct 23, 2020
4859786
Rollup merge of #77890 - gilescope:welformed-json-output-from-libtest…
JohnTitor Oct 23, 2020
b968738
Rollup merge of #77918 - wcampbell0x2a:cleanup-network-tests, r=m-ou-se
JohnTitor Oct 23, 2020
4704259
Rollup merge of #77920 - ayazhafiz:i/mut-ident-spacing, r=jyn514
JohnTitor Oct 23, 2020
39f8289
Rollup merge of #77969 - ryan-scott-dev:bigo-notation-consistency, r=…
JohnTitor Oct 23, 2020
709de78
Rollup merge of #78098 - camelid:fixup-docs, r=steveklabnik
JohnTitor Oct 23, 2020
982c4b3
Rollup merge of #78116 - spastorino:inline-const-in-range-pat, r=petr…
JohnTitor Oct 23, 2020
025481a
Rollup merge of #78153 - est31:downloaded_llvm_maybe_sync, r=Mark-Sim…
JohnTitor Oct 23, 2020
dfb0d09
Rollup merge of #78163 - camelid:fixup-lib-docs, r=m-ou-se
JohnTitor Oct 23, 2020
29461c1
Rollup merge of #78169 - ehuss:update-cargo, r=ehuss
JohnTitor Oct 23, 2020
00c4dcd
Rollup merge of #78231 - LeSeulArtichaut:closure-target_feature, r=ni…
JohnTitor Oct 23, 2020
3f462c2
Rollup merge of #78235 - Aaron1011:closure-ret-infer, r=varkor
JohnTitor Oct 23, 2020
7ba519e
Rollup merge of #78255 - dtolnay:match, r=lcnr
JohnTitor Oct 23, 2020
6884632
Rollup merge of #78263 - JohnTitor:mir-opt-ice-test, r=lcnr
JohnTitor Oct 23, 2020
b5d2ff0
Rollup merge of #78265 - JohnTitor:type-iference-diag-test, r=lcnr
JohnTitor Oct 23, 2020
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler/rustc_feature/src/active.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ pub const INCOMPLETE_FEATURES: &[Symbol] = &[
sym::lazy_normalization_consts,
sym::specialization,
sym::inline_const,
sym::repr128,
];

/// Some features are not allowed to be used together at the same time, if
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/enum-discriminant/discriminant_size.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// run-pass
#![feature(core_intrinsics, repr128)]
//~^ WARN the feature `repr128` is incomplete

use std::intrinsics::discriminant_value;

Expand Down
11 changes: 11 additions & 0 deletions src/test/ui/enum-discriminant/discriminant_size.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
warning: the feature `repr128` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/discriminant_size.rs:2:29
|
LL | #![feature(core_intrinsics, repr128)]
| ^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #56071 <https://github.com/rust-lang/rust/issues/56071> for more information

warning: 1 warning emitted

1 change: 1 addition & 0 deletions src/test/ui/enum-discriminant/issue-70509-partial_eq.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// run-pass
#![feature(repr128, arbitrary_enum_discriminant)]
//~^ WARN the feature `repr128` is incomplete

#[derive(PartialEq, Debug)]
#[repr(i128)]
Expand Down
11 changes: 11 additions & 0 deletions src/test/ui/enum-discriminant/issue-70509-partial_eq.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
warning: the feature `repr128` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-70509-partial_eq.rs:2:12
|
LL | #![feature(repr128, arbitrary_enum_discriminant)]
| ^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #56071 <https://github.com/rust-lang/rust/issues/56071> for more information

warning: 1 warning emitted

1 change: 1 addition & 0 deletions src/test/ui/enum-discriminant/repr128.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// run-pass
#![feature(repr128, core_intrinsics, discriminant_kind)]
//~^ WARN the feature `repr128` is incomplete

use std::intrinsics::discriminant_value;
use std::marker::DiscriminantKind;
Expand Down
11 changes: 11 additions & 0 deletions src/test/ui/enum-discriminant/repr128.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
warning: the feature `repr128` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/repr128.rs:2:12
|
LL | #![feature(repr128, core_intrinsics, discriminant_kind)]
| ^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #56071 <https://github.com/rust-lang/rust/issues/56071> for more information

warning: 1 warning emitted

1 change: 1 addition & 0 deletions src/test/ui/issues/issue-43398.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#![feature(core_intrinsics)]
#![feature(repr128)]
//~^ WARN the feature `repr128` is incomplete

#[repr(i128)]
enum Big { A, B }
Expand Down
11 changes: 11 additions & 0 deletions src/test/ui/issues/issue-43398.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
warning: the feature `repr128` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-43398.rs:4:12
|
LL | #![feature(repr128)]
| ^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #56071 <https://github.com/rust-lang/rust/issues/56071> for more information

warning: 1 warning emitted

1 change: 1 addition & 0 deletions src/tools/clippy/tests/ui/auxiliary/proc_macro_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#![crate_type = "proc-macro"]
#![feature(repr128, proc_macro_hygiene, proc_macro_quote, box_patterns)]
#![allow(incomplete_features)]
#![allow(clippy::useless_conversion)]

extern crate proc_macro;
Expand Down
1 change: 1 addition & 0 deletions src/tools/clippy/tests/ui/auxiliary/proc_macro_derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#![crate_type = "proc-macro"]
#![feature(repr128, proc_macro_quote)]
#![allow(incomplete_features)]

extern crate proc_macro;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// contain a proc-macro.

#![feature(repr128)]
#![allow(incomplete_features)]
#![crate_type = "proc-macro"]

extern crate proc_macro;
Expand Down
0