Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

sync upstream #147

Merged
merged 753 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
753 commits
Select commit Hold shift + click to select a range
fd4a33c
Update doctest tests
GuillaumeGomez Nov 11, 2020
95ee1fc
Correctly detect color support
GuillaumeGomez Nov 12, 2020
63785c8
Add comment explaining why we can't split on `error[{}]: ` because of…
GuillaumeGomez Nov 13, 2020
ec10824
Remove unused import
GuillaumeGomez Nov 15, 2020
d701bf9
Enable AVX512 *epi64 variants by updating stdarch
vertexclique Nov 17, 2020
1bac1b4
this is beta 1.49.0
pietroalbini Nov 17, 2020
e881b4e
build-manifest: strip newline from rustc version
pietroalbini Nov 16, 2020
a01256f
Avoid installing external LLVM dylibs
Mark-Simulacrum Nov 12, 2020
2101eca
Install CI llvm into the library directory
Mark-Simulacrum Nov 15, 2020
a9ace8c
Update RELEASES.md for 1.48.0
XAMPPRocky Oct 25, 2020
b77adff
Update RELEASES.md
XAMPPRocky Oct 25, 2020
bc41092
Update RELEASES.md
XAMPPRocky Oct 25, 2020
c321d6a
Apply suggestions from code review
XAMPPRocky Oct 25, 2020
5921bca
Apply suggestions from code review
XAMPPRocky Oct 26, 2020
51d9591
Update RELEASES.md
XAMPPRocky Oct 26, 2020
dc8d2eb
Update RELEASES.md
XAMPPRocky Oct 26, 2020
949043e
Update RELEASES.md
XAMPPRocky Oct 26, 2020
2317b82
Update RELEASES.md
XAMPPRocky Oct 27, 2020
70d23b1
Update RELEASES.md
XAMPPRocky Oct 27, 2020
c571271
Update RELEASES.md
XAMPPRocky Oct 27, 2020
53597c7
Update RELEASES.md
XAMPPRocky Oct 29, 2020
2f3b6e1
Update RELEASES.md
XAMPPRocky Nov 12, 2020
f7886a6
Ensure that the source code display is working with DOS backline
GuillaumeGomez Oct 14, 2020
d2df222
Add test to ensure that no DOS backline (\r\n) doesn't create extra b…
GuillaumeGomez Nov 15, 2020
e0ef0fc
Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk
bors Nov 17, 2020
92aa0e6
Use `span_suggestion_verbose` instead of `span_suggestion` for `fn` w…
ThePuzzlemaker Nov 15, 2020
b8ed466
Fix ui tests for `fn`s with qualifiers in `extern` blocks
ThePuzzlemaker Nov 15, 2020
d17874f
bootstrap: use the same version number for rustc and cargo
pietroalbini Nov 17, 2020
81f9feb
Rollup merge of #74293 - GuillaumeGomez:rustdoc-test-compiler-output-…
m-ou-se Nov 17, 2020
fa45fce
Rollup merge of #78702 - wesleywiser:self_profile_cgu_sizes, r=Mark-S…
m-ou-se Nov 17, 2020
dda4798
Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomez
m-ou-se Nov 17, 2020
b6f5241
Rollup merge of #79072 - oli-obk:byte_str_pat, r=estebank
m-ou-se Nov 17, 2020
53ddb73
Rollup merge of #79120 - calebcartwright:update-rustfmt, r=Mark-Simul…
m-ou-se Nov 17, 2020
3d63f25
Rollup merge of #79125 - jyn514:fewer-types, r=GuillaumeGomez
m-ou-se Nov 17, 2020
ca38bd4
Rollup merge of #79126 - jyn514:auto, r=GuillaumeGomez
m-ou-se Nov 17, 2020
f698505
Rollup merge of #79130 - lcnr:extend-tes, r=varkor
m-ou-se Nov 17, 2020
c919f49
Auto merge of #79138 - m-ou-se:rollup-owel5ld, r=m-ou-se
bors Nov 17, 2020
6142bf6
Update fulldeps test
Mark-Simulacrum Oct 7, 2020
9bbc4c1
add trailing_zeros and leading_zeros to non zero types
andjo403 Nov 17, 2020
c825c74
Move change to check_fn, fix up overloaded-calls-nontuple
CraftSpider Nov 17, 2020
6c28ffb
Use DefPath for clean::Visibility, not clean::Path
jyn514 Nov 14, 2020
c9a17b1
Fix broken handling of `MacroDef` in `Map::attrs`
jyn514 Nov 15, 2020
fc4ca55
Add `from_def_id_and_kind` reducing duplication in rustdoc
jyn514 Nov 15, 2020
0e1a302
Remove dead code in rustdoc::doctree
jyn514 Nov 14, 2020
95eff66
Fix handling of panic calls
camelid Nov 17, 2020
e8426a6
Remove unnecessary abi import
CraftSpider Nov 17, 2020
7477867
Ignore failures of RLS on aarch64 Windows
Mark-Simulacrum Nov 17, 2020
614a748
Highlight MIR as Rust on GitHub
camelid Nov 17, 2020
7faebe5
Move capture lowering from THIR to MIR
arora-aman Nov 17, 2020
9f70e78
Remove THIR::ExprKind::SelfRef
arora-aman Nov 17, 2020
bdaa76c
Fix typo in `std::io::Write` docs
wchargin Nov 17, 2020
87776d7
Auto merge of #79132 - pietroalbini:beta-next, r=Mark-Simulacrum
bors Nov 18, 2020
36972b0
fix handling the default config for profiler and sanitizers
12101111 Nov 18, 2020
5163912
Allow using `download-ci-llvm` from directories other than the root
jyn514 Nov 18, 2020
c4f836a
Auto merge of #77820 - jyn514:from-inner, r=petrochenkov
bors Nov 18, 2020
9fca57c
BTreeMap: reuse NodeRef as Root, keep BoxedNode for edges only, ban U…
ssomers Nov 5, 2020
3853c0c
Revert "Auto merge of #79132 - pietroalbini:beta-next, r=Mark-Simulac…
pietroalbini Nov 18, 2020
88584d5
change error for `LayoutErr::SizeOverflow`
lcnr Nov 18, 2020
7d747db
Auto merge of #79159 - pietroalbini:woops, r=pietroalbini
bors Nov 18, 2020
b491587
Extract write_srclink to its own method
aDotInTheVoid Nov 18, 2020
efcbf1b
Permit standalone generic parameters as const generic arguments in ma…
varkor Nov 18, 2020
85bc953
Add tests for multi-segment paths in const generic arguments
varkor Nov 18, 2020
51c2218
move fuel checks to later points in instcombine and const_prop, add o…
cjkenn Nov 18, 2020
c7e9029
Rollup merge of #78361 - DevJPM:master, r=workingjubilee
m-ou-se Nov 18, 2020
61134aa
Rollup merge of #78785 - cuviper:weak-getrandom, r=m-ou-se
m-ou-se Nov 18, 2020
92dcf6d
Rollup merge of #78999 - petrochenkov:deprid, r=eddyb
m-ou-se Nov 18, 2020
ad6fd9b
Rollup merge of #79039 - thomcc:weakly-relaxing, r=Amanieu
m-ou-se Nov 18, 2020
f85c3f7
Rollup merge of #79079 - camelid:mir-visit-docs, r=matthewjasper
m-ou-se Nov 18, 2020
126d88b
Rollup merge of #79114 - andjo403:nonzero_leading_trailing_zeros, r=m…
m-ou-se Nov 18, 2020
e2addb4
Rollup merge of #79131 - vertexclique:stdarch-update, r=Amanieu
m-ou-se Nov 18, 2020
83fcbd5
Rollup merge of #79133 - pietroalbini:simplify-stage0, r=Mark-Simulacrum
m-ou-se Nov 18, 2020
20fbe22
Rollup merge of #79145 - camelid:clippy-fix-panics, r=flip1995
m-ou-se Nov 18, 2020
5a9104f
Rollup merge of #79151 - wchargin:wchargin-io-write-docs, r=jyn514
m-ou-se Nov 18, 2020
43d13e2
Rollup merge of #79158 - lcnr:lazy-norm-coerce, r=oli-obk
m-ou-se Nov 18, 2020
1e524fb
change print-fuel ui test to check-pass
cjkenn Nov 18, 2020
2098ade
Remove redundant notes in E0275
estebank Nov 16, 2020
3527964
Account for indirect cyclic requirements
estebank Nov 18, 2020
c12e77b
review comment
estebank Nov 18, 2020
b4c91f9
Add #[cold] to `abort` and `handle_alloc_error`
a1phyr Nov 18, 2020
8d2d001
Auto merge of #79167 - m-ou-se:rollup-4g15apk, r=m-ou-se
bors Nov 18, 2020
8725e4c
Add support for custom allocators in `Vec`
TimDiekmann Nov 18, 2020
8c78e97
Use `Cell` instead of `Vec` in const-generics test
TimDiekmann Nov 18, 2020
1094f97
Test drop order for (destructuring) assignments
fanzier Nov 18, 2020
f09d474
Use PackedFingerprint in DepNode to reduce memory consumption
tgnottingham Nov 4, 2020
071d8b1
Fix rustdoc: Referencing methods on extern_types does not resolve #78…
lochsh Nov 15, 2020
d38dbcb
Improve error message when we try to get_type on something that does …
lochsh Nov 15, 2020
8256379
Auto merge of #78995 - Nadrieril:clean-empty-match, r=varkor
bors Nov 18, 2020
ae644a2
add [src] links to methods on a trait's page
aDotInTheVoid Nov 18, 2020
32cd4bc
Add test
lochsh Nov 18, 2020
566e877
Make compiletest testing use the local sysroot
cuviper Nov 18, 2020
05dde13
Make PackedFingerprint's Fingerprint private
tgnottingham Nov 18, 2020
675f114
Auto merge of #79106 - tmiasko:inline-hint, r=nagisa,eddyb
bors Nov 18, 2020
b556690
move checks later into optimization passes
cjkenn Nov 19, 2020
5d26145
Remove semicolon from internal `err` macro
Aaron1011 Oct 27, 2020
b03d4b0
Bump stage0 rustfmt to nightly-2020-11-19
Aaron1011 Nov 19, 2020
8247223
Revert "Always use param_env_reveal_all_normalized in validator"
tmiasko Nov 19, 2020
0ab4458
Revert "Normalize function type during validation"
tmiasko Nov 19, 2020
bf469eb
Auto merge of #79002 - est31:backtrace_colno, r=dtolnay
bors Nov 19, 2020
de08df2
Make as{_mut,}_slice on array::IntoIter public
est31 Nov 19, 2020
5a549d3
Auto merge of #79068 - DevJPM:ci-llvm-9-fix, r=pietroalbini
bors Nov 19, 2020
a600410
Fix debuginfo test for `Vec`
TimDiekmann Nov 19, 2020
74df1ca
update Miri
RalfJung Nov 19, 2020
7e20323
Auto merge of #78449 - Aaron1011:fix/libstd-semi, r=dtolnay
bors Nov 19, 2020
1d3305a
remove check from const promotion
cjkenn Nov 19, 2020
07de702
update print fuel test output again...
cjkenn Nov 19, 2020
3d3c8c5
Auto merge of #79198 - RalfJung:miri, r=RalfJung
bors Nov 19, 2020
5a58b50
Rollup merge of #78961 - CraftSpider:22565, r=oli-obk
Dylan-DPC Nov 19, 2020
3f0f224
Rollup merge of #79082 - ThePuzzlemaker:issue-78941-fix, r=estebank
Dylan-DPC Nov 19, 2020
29c8e50
Rollup merge of #79090 - hermitcore:builtins, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
552d8c5
Rollup merge of #79094 - est31:ignore_macos, r=pietroalbini
Dylan-DPC Nov 19, 2020
05ff58e
Rollup merge of #79101 - tmiasko:lower-func-type, r=jonas-schievink
Dylan-DPC Nov 19, 2020
6010f7b
Rollup merge of #79102 - Alexendoo:ice-regression-tests, r=Mark-Simul…
Dylan-DPC Nov 19, 2020
470f768
Rollup merge of #79110 - estebank:issue-58964, r=oli-obk
Dylan-DPC Nov 19, 2020
04a4404
Rollup merge of #79116 - petrochenkov:gdbwarn, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
2fdcd24
Rollup merge of #79117 - cjkenn:mir-fuel, r=oli-obk
Dylan-DPC Nov 19, 2020
62838c6
Rollup merge of #79147 - camelid:mir-gitattributes, r=oli-obk
Dylan-DPC Nov 19, 2020
5c7d530
Rollup merge of #79149 - sexxi-goose:upvar_ref, r=nikomatsakis
Dylan-DPC Nov 19, 2020
3b857a5
Rollup merge of #79155 - 12101111:fix-profiler-config, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
de62272
Rollup merge of #79156 - jyn514:relative-llvm, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
b5fffdc
Rollup merge of #79164 - varkor:unbraced-single-segment-const-argumen…
Dylan-DPC Nov 19, 2020
54588c8
Add jyn514 email alias to mailmap
pickfire Nov 19, 2020
b49fbc9
expand: Tell built-in macros whether we are currently in forced expan…
petrochenkov Nov 14, 2020
e7ee4d6
expand: Move `fully_configure` to `config.rs`
petrochenkov Nov 18, 2020
69894ce
resolve: Introduce a separate `NonMacroAttrKind` for legacy derive he…
petrochenkov Nov 18, 2020
68f94e9
resolve: Centralize some error reporting for unexpected macro resolut…
petrochenkov Nov 18, 2020
dfb690e
resolve/expand: Misc cleanup
petrochenkov Nov 18, 2020
ec54720
expand: Cleanup attribute collection in invocation collector
petrochenkov Nov 18, 2020
cd2177f
expand: Stop derive expansion un unexpected targets early
petrochenkov Nov 18, 2020
d575aa4
expand: Mark some dead code in derive expansion as unreachable
petrochenkov Nov 18, 2020
24bbca4
Extend meta parameters to all generated code in compat_fn.
jdm Nov 19, 2020
fe98231
Auto merge of #79200 - Dylan-DPC:rollup-su689pq, r=Dylan-DPC
bors Nov 19, 2020
454eaec
Remove the clippy::panic-params lint.
m-ou-se Nov 19, 2020
a125ef2
Clippy: Match on assert!() expansions without an inner block.
m-ou-se Nov 19, 2020
82bf5b6
Regroup many usefulness-related test in the same folder
Nadrieril Nov 19, 2020
53f969d
Add the "memcpy" doc alias to slice::copy_from_slice
yoshuawuyts Nov 19, 2020
f59d030
Move `rustc_ty` -> `rustc_ty_utils`
LeSeulArtichaut Nov 19, 2020
09c9c9f
Auto merge of #79060 - dtolnay:symlinkarg, r=Mark-Simulacrum
bors Nov 19, 2020
138e96d
Rollup merge of #79119 - jamesmunns:patch-1, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
c2a277c
Rollup merge of #79123 - CDirkx:128-bits, r=Mark-Simulacrum
Dylan-DPC Nov 19, 2020
acc2e23
Rollup merge of #79177 - fanzier:drop-order-test, r=RalfJung
Dylan-DPC Nov 19, 2020
192ed76
Rollup merge of #79181 - aDotInTheVoid:provided-method-source-link, r…
Dylan-DPC Nov 19, 2020
d5ee4ed
Rollup merge of #79183 - cuviper:compiletest-test-sysroot, r=Mark-Sim…
Dylan-DPC Nov 19, 2020
8216b35
Rollup merge of #79185 - petrochenkov:derattr2, r=Aaron1011
Dylan-DPC Nov 19, 2020
084fc29
Rollup merge of #79193 - tmiasko:revert-78969-normalize, r=davidtwco
Dylan-DPC Nov 19, 2020
169e221
Rollup merge of #79194 - est31:array_into_iter_slice, r=scottmcm
Dylan-DPC Nov 19, 2020
39495cb
Rollup merge of #79204 - pickfire:patch-3, r=jyn514
Dylan-DPC Nov 19, 2020
95da425
Rollup merge of #79212 - LeSeulArtichaut:rustc-ty, r=jonas-schievink
Dylan-DPC Nov 19, 2020
5adc00f
Rollup merge of #79217 - yoshuawuyts:copy_from_slice-alias, r=Mark-Si…
Dylan-DPC Nov 19, 2020
d8d763d
unix/weak: pass arguments to syscall at the given type
RalfJung Nov 19, 2020
c2fb999
Never inline naked functions
tmiasko Nov 20, 2020
dcef5ff
Bump bootstrap compiler version
shepmaster Nov 19, 2020
4ec27e4
Auto merge of #79220 - Dylan-DPC:rollup-5bpbygd, r=Dylan-DPC
bors Nov 20, 2020
74285eb
Auto merge of #78088 - fusion-engineering-forks:panic-fmt-lint, r=est…
bors Nov 20, 2020
5c45969
Auto merge of #79192 - tmiasko:naked-noinline, r=oli-obk
bors Nov 20, 2020
172acf8
Auto merge of #79196 - RalfJung:syscall, r=m-ou-se
bors Nov 20, 2020
142932a
Set unaligned_references lint to deny in rustc_data_structures
tgnottingham Nov 20, 2020
a7677f7
reference NonNull::dangling
RalfJung Nov 20, 2020
ae6aa22
Auto merge of #78646 - tgnottingham:packed_fingerprints, r=nnethercote
bors Nov 20, 2020
f02296a
Remove FIXME comment from incremental
sasurau4 Nov 20, 2020
a64d0d4
Add `core::slice::fill_with`
yoshuawuyts Nov 20, 2020
7a3b331
Add "memset" as doc alias to slice::fill()
sdroege Nov 20, 2020
c9c57fa
Auto merge of #79205 - rust-lang:jdm-patch-1, r=m-ou-se
bors Nov 20, 2020
459c83f
Exhaustively match in variant count instrinsic
Nov 20, 2020
593fe97
Auto merge of #78104 - ssomers:btree_root_redux, r=Mark-Simulacrum
bors Nov 20, 2020
993bb07
rustc_expand: Mark inner `#![test]` attributes as soft-unstable
petrochenkov Nov 12, 2020
5ed2d42
Direct RUSTC_LOG (tracing/log) output to stderr instead of stdout.
eddyb Nov 20, 2020
fb6ceac
We missed 1.49.0, so bump version to 1.50.0
Xaeroxe Nov 20, 2020
f99410b
std: Update the backtrace crate submodule
alexcrichton Nov 20, 2020
e93a463
Use specialization to avoid copying
bugadani Oct 30, 2020
432d116
Auto merge of #78569 - bugadani:arena-spec, r=Mark-Simulacrum
bors Nov 20, 2020
0f61664
update miri
RalfJung Nov 20, 2020
fac8b4e
Support building clone shims for arrays with generic size
tmiasko Nov 21, 2020
8cfa7b4
Auto merge of #78588 - HeroicKatora:sccc, r=nikomatsakis
bors Nov 21, 2020
3213efc
Improve integer range tests
Nadrieril Nov 20, 2020
25a3ffe
Move from bash to rust
jyn514 Nov 21, 2020
ef34e06
List all variants of TyKind
Nov 21, 2020
bc43380
Fix comments of toogeneris test
Nov 21, 2020
502c477
Auto merge of #79003 - petrochenkov:innertest, r=estebank
bors Nov 21, 2020
db8b86b
Fix typos
bugadani Nov 21, 2020
29a74e6
Auto merge of #79222 - yoshuawuyts:slice-fill-with, r=m-ou-se
bors Nov 21, 2020
822fa7c
Auto merge of #79250 - RalfJung:miri, r=RalfJung
bors Nov 21, 2020
539402c
Auto merge of #77805 - JohnTitor:non-standard-char-sugg, r=Dylan-DPC
bors Nov 21, 2020
0f005c2
BTreeMap: address namespace conflicts
ssomers Nov 5, 2020
0459aca
Get rid of some doctree items
jyn514 Nov 21, 2020
8c94f8b
Add more tests for renamed items
jyn514 Nov 21, 2020
7888406
Fix wrong names when inlining
jyn514 Nov 21, 2020
d806d65
Auto merge of #79115 - cuviper:rust-description, r=Mark-Simulacrum
bors Nov 21, 2020
e280ae8
x.py test --bless
jyn514 Nov 21, 2020
3adedb8
Auto merge of #79237 - alexcrichton:update-backtrace, r=Mark-Simulacrum
bors Nov 21, 2020
967a228
Replace ZExt and SExt flags with ArgExtension enum
bjorn3 Nov 14, 2020
42b0b80
Replace ByVal attribute with on_stack field for Indirect
bjorn3 Nov 14, 2020
39b8b2b
Remove StructRet arg attr
bjorn3 Nov 14, 2020
6a5f537
Rename prefix_chunk to prefix_chunk_size
bjorn3 Nov 15, 2020
43968aa
Replace sext() and zext() with single ext() method
bjorn3 Nov 21, 2020
6cd02a8
Rollup merge of #77844 - RalfJung:zst-box, r=nikomatsakis
Dylan-DPC Nov 21, 2020
4268357
Rollup merge of #79067 - bjorn3:abi_refactor, r=nagisa
Dylan-DPC Nov 21, 2020
5d428ca
Rollup merge of #79182 - lochsh:78777-fix-extern-types-ref, r=jyn514
Dylan-DPC Nov 21, 2020
bb73ea6
Rollup merge of #79231 - wusyong:issue-79137, r=lcnr
Dylan-DPC Nov 21, 2020
3958cec
Rollup merge of #79238 - eddyb:rustc-log-stderr, r=jyn514
Dylan-DPC Nov 21, 2020
96ec5d2
Rollup merge of #79256 - bugadani:query-typo, r=jonas-schievink
Dylan-DPC Nov 21, 2020
c20657c
Rollup merge of #79264 - jyn514:less-doctree, r=GuillaumeGomez
Dylan-DPC Nov 21, 2020
68c9caa
Rollup merge of #79272 - tmiasko:array-clone, r=jonas-schievink
Dylan-DPC Nov 21, 2020
ae17d7d
More consistently use spaces after commas in lists in docs
carols10cents Nov 21, 2020
da38469
Auto merge of #79273 - Dylan-DPC:rollup-zd10xlt, r=Dylan-DPC
bors Nov 21, 2020
a1a13b2
Auto merge of #78461 - TimDiekmann:vec-alloc, r=Amanieu
bors Nov 21, 2020
773b73c
Split iterator adaptors into individual modules
WaffleLapkin Oct 7, 2020
66d6708
Split iterator sources into different modules
WaffleLapkin Oct 7, 2020
b82a76a
Merge `use`s in core::iter
WaffleLapkin Oct 7, 2020
0dc187c
Fix doc links in core::iter::sources
WaffleLapkin Oct 8, 2020
e0e906b
Fix UI tests
WaffleLapkin Oct 8, 2020
4612658
Remove multiline `use`s
WaffleLapkin Oct 8, 2020
7009011
Auto merge of #78752 - jyn514:html-diff, r=GuillaumeGomez
bors Nov 22, 2020
8ca930a
Auto merge of #79229 - sdroege:slice-fill-memset, r=dtolnay
bors Nov 22, 2020
20328b5
Auto merge of #79275 - integer32llc:doc-style, r=jonas-schievink
bors Nov 22, 2020
7be6d67
Fix typo in doc comment for report_too_many_hashes
nico-abram Nov 22, 2020
5d5ff84
Auto merge of #77872 - Xaeroxe:stabilize-clamp, r=scottmcm
bors Nov 22, 2020
b6f9705
Add test for eval order for a+=b
Havvy Nov 22, 2020
9186c07
BTreeMap: fix minor testing mistakes in #78903
ssomers Nov 22, 2020
b04abc4
BTreeMap: swap the names of NodeRef::new and Root::new_leaf
ssomers Nov 22, 2020
828461b
Auto merge of #78816 - SkiFire13:fix-slice-pointer-provenance, r=Ralf…
bors Nov 22, 2020
cf32afc
Stabilise `then`
varkor Nov 22, 2020
c2a1dfa
Add regression test for issue 73899
est31 Nov 22, 2020
28a94a3
Prevent feature information to be hidden if it's on the impl directly
GuillaumeGomez Nov 22, 2020
876024d
Rollup merge of #78670 - sasurau4:test/check-pass-incremental, r=jyn514
GuillaumeGomez Nov 22, 2020
5c982b7
Rollup merge of #79292 - nico-abram:master, r=jonas-schievink
GuillaumeGomez Nov 22, 2020
70a839f
Rollup merge of #79300 - GuillaumeGomez:hidden-feature-info, r=jyn514
GuillaumeGomez Nov 22, 2020
749fe40
Rollup merge of #79302 - est31:issue_73899_test, r=lcnr
GuillaumeGomez Nov 22, 2020
52e3cf1
Auto merge of #79306 - GuillaumeGomez:rollup-4cnudfj, r=GuillaumeGomez
bors Nov 22, 2020
c643dd2
Auto merge of #79243 - Nadrieril:consolidate-tests, r=varkor
bors Nov 22, 2020
5c6689b
Stabilize refcell_take
ThinkChaos Oct 31, 2020
cf26f2f
Add f{32,64}::is_subnormal
clarfonthey Sep 19, 2020
a0d664b
Auto merge of #79219 - shepmaster:beta-bump, r=Mark-Simulacrum
bors Nov 22, 2020
9050d12
Stabilize `alloc::Layout const` functions
ChrisDenton Nov 22, 2020
9b98f1d
Rollup merge of #76941 - clarfonthey:is_subnormal, r=m-ou-se
m-ou-se Nov 22, 2020
4407049
Rollup merge of #77697 - WaffleLapkin:iter_split_adaptors, r=m-ou-se
m-ou-se Nov 22, 2020
186ec64
Rollup merge of #78305 - ChrisDenton:const-layout, r=oli-obk
m-ou-se Nov 22, 2020
b249844
Rollup merge of #78608 - ThinkChaos:stabilize_refcell_take, r=m-ou-se
m-ou-se Nov 22, 2020
8a623e6
Rollup merge of #78793 - camelid:fixup-structuraleq, r=jyn514
m-ou-se Nov 22, 2020
5793fa9
Rollup merge of #79267 - ssomers:btree_namespaces, r=Mark-Simulacrum
m-ou-se Nov 22, 2020
138845d
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mar…
m-ou-se Nov 22, 2020
b54838f
Rollup merge of #79295 - ssomers:btree_fix_78903, r=Mark-Simulacrum
m-ou-se Nov 22, 2020
d39e095
Rollup merge of #79297 - ssomers:btree_post_redux, r=Mark-Simulacrum
m-ou-se Nov 22, 2020
41c033b
Rollup merge of #79299 - varkor:stabilise-then, r=m-ou-se
m-ou-se Nov 22, 2020
32da90b
Auto merge of #79319 - m-ou-se:rollup-d9n5viq, r=m-ou-se
bors Nov 22, 2020
3f8fdf8
Stabilize `IpAddr::is_ipv4` and `is_ipv6` as const
CDirkx Sep 2, 2020
4613bc9
Bump version to 1.50.0
CDirkx Nov 23, 2020
f32459c
Auto merge of #79172 - a1phyr:cold_abort, r=Mark-Simulacrum
bors Nov 23, 2020
1823a87
Auto merge of #76226 - CDirkx:const-ipaddr, r=dtolnay
bors Nov 23, 2020
068320b
Auto merge of #77893 - petertodd:2020-impl-default-for-phantompinned,…
bors Nov 23, 2020
9f03147
Merge branch 'master' of https://github.com/rust-lang/rust into yk-sy…
vext01 Nov 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.h rust
*.rs rust diff=rust
*.fixed linguist-language=Rust
*.mir linguist-language=Rust
src/etc/installer/gfx/* binary
*.woff binary
src/vendor/** -text
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Jorge Aparicio <[email protected]> <[email protected]>
Joseph Martin <[email protected]>
Joseph T. Lyons <[email protected]> <[email protected]>
Joseph T. Lyons <[email protected]> <[email protected]>
Joshua Nelson <[email protected]> <[email protected]>
jumbatm <[email protected]> <[email protected]>
Junyoung Cho <[email protected]>
Jyun-Yan You <[email protected]> <[email protected]>
Expand Down
60 changes: 32 additions & 28 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# It is not intended for manual editing.
[[package]]
name = "addr2line"
version = "0.13.0"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072"
checksum = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423"
dependencies = [
"compiler_builtins",
"gimli",
Expand Down Expand Up @@ -132,13 +132,13 @@ checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"

[[package]]
name = "backtrace"
version = "0.3.53"
version = "0.3.55"
dependencies = [
"addr2line",
"cfg-if 1.0.0",
"libc",
"miniz_oxide",
"object 0.21.1",
"object",
"rustc-demangle",
]

Expand Down Expand Up @@ -470,9 +470,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "chalk-derive"
version = "0.32.0"
version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d072b2ba723f0bada7c515d8b3725224bc4f5052d2a92dcbeb0b118ff37084a"
checksum = "9f88ce4deae1dace71e49b7611cfae2d5489de3530d6daba5758043c47ac3a10"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -482,9 +482,9 @@ dependencies = [

[[package]]
name = "chalk-engine"
version = "0.32.0"
version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fb5475f6083d6d6c509e1c335c4f69ad04144ac090faa1afb134a53c3695841"
checksum = "0e34c9b1b10616782143d7f49490f91ae94afaf2202de3ab0b2835e78b4f0ccc"
dependencies = [
"chalk-derive",
"chalk-ir",
Expand All @@ -495,19 +495,19 @@ dependencies = [

[[package]]
name = "chalk-ir"
version = "0.32.0"
version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f60cdb0e18c5455cb6a85e8464aad3622b70476018edfa8845691df66f7e9a05"
checksum = "63362c629c2014ab639b04029070763fb8224df136d1363d30e9ece4c8877da3"
dependencies = [
"chalk-derive",
"lazy_static",
]

[[package]]
name = "chalk-solve"
version = "0.32.0"
version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "981534d499a8476ecc0b520be4d3864757f96211826a75360fbf2cb6fae362ab"
checksum = "cac338a67af52a7f50bb2f8232e730a3518ce432dbe303246acfe525ddd838c7"
dependencies = [
"chalk-derive",
"chalk-ir",
Expand Down Expand Up @@ -731,6 +731,13 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a21fa21941700a3cd8fcb4091f361a6a712fac632f85d9f487cc892045d55c6"

[[package]]
name = "coverage_test_macros"
version = "0.0.0"
dependencies = [
"proc-macro2",
]

[[package]]
name = "cpuid-bool"
version = "0.1.2"
Expand Down Expand Up @@ -990,9 +997,9 @@ dependencies = [

[[package]]
name = "dlmalloc"
version = "0.1.4"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35055b1021724f4eb5262eb49130eebff23fc59fc5a14160e05faad8eeb36673"
checksum = "332570860c2edf2d57914987bf9e24835425f75825086b6ba7d1e6a3e4f1f254"
dependencies = [
"compiler_builtins",
"libc",
Expand Down Expand Up @@ -1301,9 +1308,9 @@ dependencies = [

[[package]]
name = "gimli"
version = "0.22.0"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
Expand Down Expand Up @@ -2190,21 +2197,15 @@ dependencies = [

[[package]]
name = "object"
version = "0.20.0"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
"rustc-std-workspace-core",
]

[[package]]
name = "object"
version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693"

[[package]]
name = "once_cell"
version = "1.4.1"
Expand Down Expand Up @@ -3032,6 +3033,7 @@ name = "rustbook"
version = "0.1.0"
dependencies = [
"clap",
"env_logger 0.7.1",
"mdbook",
]

Expand Down Expand Up @@ -3813,7 +3815,7 @@ dependencies = [
"rustc_target",
"rustc_trait_selection",
"rustc_traits",
"rustc_ty",
"rustc_ty_utils",
"rustc_typeck",
"smallvec 1.4.2",
"tempfile",
Expand Down Expand Up @@ -3842,6 +3844,7 @@ dependencies = [
"rustc_hir",
"rustc_index",
"rustc_middle",
"rustc_parse_format",
"rustc_session",
"rustc_span",
"rustc_target",
Expand Down Expand Up @@ -3941,6 +3944,7 @@ dependencies = [
name = "rustc_mir"
version = "0.0.0"
dependencies = [
"coverage_test_macros",
"either",
"itertools 0.9.0",
"polonius-engine",
Expand Down Expand Up @@ -4250,7 +4254,7 @@ dependencies = [
]

[[package]]
name = "rustc_ty"
name = "rustc_ty_utils"
version = "0.0.0"
dependencies = [
"rustc_data_structures",
Expand Down Expand Up @@ -4348,7 +4352,7 @@ dependencies = [

[[package]]
name = "rustfmt-nightly"
version = "1.4.24"
version = "1.4.27"
dependencies = [
"annotate-snippets 0.6.1",
"anyhow",
Expand Down Expand Up @@ -4677,7 +4681,7 @@ dependencies = [
"hermit-abi",
"libc",
"miniz_oxide",
"object 0.20.0",
"object",
"panic_abort",
"panic_unwind",
"profiler_builtins",
Expand Down
141 changes: 141 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,143 @@
Version 1.48.0 (2020-11-19)
==========================

Language
--------

- [The `unsafe` keyword is now syntactically permitted on modules.][75857] This
is still rejected *semantically*, but can now be parsed by procedural macros.

Compiler
--------
- [Stabilised the `-C link-self-contained=<yes|no>` compiler flag.][76158] This tells
`rustc` whether to link its own C runtime and libraries or to rely on a external
linker to find them. (Supported only on `windows-gnu`, `linux-musl`, and `wasi` platforms.)
- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.][77386]
Note: If you're using cargo you must explicitly pass the `--target` flag.
- [Added tier 2\* support for `aarch64-unknown-linux-musl`.][76420]

\* Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.

Libraries
---------
- [`io::Write` is now implemented for `&ChildStdin` `&Sink`, `&Stdout`,
and `&Stderr`.][76275]
- [All arrays of any length now implement `TryFrom<Vec<T>>`.][76310]
- [The `matches!` macro now supports having a trailing comma.][74880]
- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]
- [The `RefCell::{replace, replace_with, clone}` methods now all use `#[track_caller]`.][77055]

Stabilized APIs
---------------
- [`slice::as_ptr_range`]
- [`slice::as_mut_ptr_range`]
- [`VecDeque::make_contiguous`]
- [`future::pending`]
- [`future::ready`]

The following previously stable methods are now `const fn`'s:

- [`Option::is_some`]
- [`Option::is_none`]
- [`Option::as_ref`]
- [`Result::is_ok`]
- [`Result::is_err`]
- [`Result::as_ref`]
- [`Ordering::reverse`]
- [`Ordering::then`]

Cargo
-----

Rustdoc
-------
- [You can now link to items in `rustdoc` using the intra-doc link
syntax.][74430] E.g. ``/// Uses [`std::future`]`` will automatically generate
a link to `std::future`'s documentation. See ["Linking to items by
name"][intradoc-links] for more information.
- [You can now specify `#[doc(alias = "<alias>")]` on items to add search aliases
when searching through `rustdoc`'s UI.][75740]

Compatibility Notes
-------------------
- [Promotion of references to `'static` lifetime inside `const fn` now follows the
same rules as inside a `fn` body.][75502] In particular, `&foo()` will not be
promoted to `'static` lifetime any more inside `const fn`s.
- [Associated type bindings on trait objects are now verified to meet the bounds
declared on the trait when checking that they implement the trait.][27675]
- [When trait bounds on associated types or opaque types are ambiguous, the
compiler no longer makes an arbitrary choice on which bound to use.][54121]
- [Fixed recursive nonterminals not being expanded in macros during
pretty-print/reparse check.][77153] This may cause errors if your macro wasn't
correctly handling recursive nonterminal tokens.
- [`&mut` references to non zero-sized types are no longer promoted.][75585]
- [`rustc` will now warn if you use attributes like `#[link_name]` or `#[cold]`
in places where they have no effect.][73461]
- [Updated `_mm256_extract_epi8` and `_mm256_extract_epi16` signatures in
`arch::{x86, x86_64}` to return `i32` to match the vendor signatures.][73166]
- [`mem::uninitialized` will now panic if any inner types inside a struct or enum
disallow zero-initialization.][71274]
- [`#[target_feature]` will now error if used in a place where it has no effect.][78143]
- [Foreign exceptions are now caught by `catch_unwind` and will cause an abort.][70212]
Note: This behaviour is not guaranteed and is still considered undefined behaviour,
see the [`catch_unwind`] documentation for further information.



Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [Building `rustc` from source now uses `ninja` by default over `make`.][74922]
You can continue building with `make` by setting `ninja=false` in
your `config.toml`.
- [cg_llvm: `fewer_names` in `uncached_llvm_type`][76030]
- [Made `ensure_sufficient_stack()` non-generic][76680]

[78143]: https://github.com/rust-lang/rust/issues/78143
[76680]: https://github.com/rust-lang/rust/pull/76680/
[76030]: https://github.com/rust-lang/rust/pull/76030/
[70212]: https://github.com/rust-lang/rust/pull/70212/
[27675]: https://github.com/rust-lang/rust/issues/27675/
[54121]: https://github.com/rust-lang/rust/issues/54121/
[71274]: https://github.com/rust-lang/rust/pull/71274/
[77386]: https://github.com/rust-lang/rust/pull/77386/
[77153]: https://github.com/rust-lang/rust/pull/77153/
[77055]: https://github.com/rust-lang/rust/pull/77055/
[76275]: https://github.com/rust-lang/rust/pull/76275/
[76310]: https://github.com/rust-lang/rust/pull/76310/
[76420]: https://github.com/rust-lang/rust/pull/76420/
[76158]: https://github.com/rust-lang/rust/pull/76158/
[75857]: https://github.com/rust-lang/rust/pull/75857/
[75585]: https://github.com/rust-lang/rust/pull/75585/
[75740]: https://github.com/rust-lang/rust/pull/75740/
[75502]: https://github.com/rust-lang/rust/pull/75502/
[74880]: https://github.com/rust-lang/rust/pull/74880/
[74922]: https://github.com/rust-lang/rust/pull/74922/
[74430]: https://github.com/rust-lang/rust/pull/74430/
[74194]: https://github.com/rust-lang/rust/pull/74194/
[73461]: https://github.com/rust-lang/rust/pull/73461/
[73166]: https://github.com/rust-lang/rust/pull/73166/
[intradoc-links]: https://doc.rust-lang.org/rustdoc/linking-to-items-by-name.html
[`catch_unwind`]: https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
[`Option::is_some`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.is_some
[`Option::is_none`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.is_none
[`Option::as_ref`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.as_ref
[`Result::is_ok`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.is_ok
[`Result::is_err`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.is_err
[`Result::as_ref`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.as_ref
[`Ordering::reverse`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.reverse
[`Ordering::then`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then
[`slice::as_ptr_range`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_ptr_range
[`slice::as_mut_ptr_range`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_mut_ptr_range
[`VecDeque::make_contiguous`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.make_contiguous
[`future::pending`]: https://doc.rust-lang.org/std/future/fn.pending.html
[`future::ready`]: https://doc.rust-lang.org/std/future/fn.ready.html


Version 1.47.0 (2020-10-08)
==========================

Expand Down Expand Up @@ -90,6 +230,7 @@ Compatibility Notes

Internal Only
--------

- [Improved default settings for bootstrapping in `x.py`.][73964] You can read details about this change in the ["Changes to `x.py` defaults"](https://blog.rust-lang.org/inside-rust/2020/08/30/changes-to-x-py-defaults.html) post on the Inside Rust blog.

[1.47.0-cfg]: https://docs.microsoft.com/en-us/windows/win32/secbp/control-flow-guard
Expand Down
Loading