about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-09-26Rollup merge of #64221 - Centril:nll-no-migrate-2015, r=matthewjasperMazdak Farrokhzad-1849/+176
Rust 2015: No longer downgrade NLL errors As per decision on a language team meeting as described in https://github.com/rust-lang/rust/pull/63565#issuecomment-528563744, in Rust 2015, we refuse to downgrade NLL errors, that AST borrowck accepts, into warnings and keep them as hard errors. The remaining work to throw out AST borrowck and adjust some tests still remains after this PR. Fixes https://github.com/rust-lang/rust/issues/38899 Fixes https://github.com/rust-lang/rust/issues/53432 Fixes https://github.com/rust-lang/rust/issues/45157 Fixes https://github.com/rust-lang/rust/issues/31567 Fixes https://github.com/rust-lang/rust/issues/27868 Fixes https://github.com/rust-lang/rust/issues/47366 r? @matthewjasper
2019-09-26issue-#45696: remove ignore-compare-mode-nllMazdak Farrokhzad-10/+6
2019-09-26Auto merge of #64515 - varkor:kindedterm, r=oli-obkbors-337/+357
Rename `subst::Kind` to `subst::GenericArg` And `subst::UnpackedKind` to `subst::GenericArgKind`. Individual variable names (e.g. `kind`) are not renamed, which would be an infeasible mission. Fixes https://github.com/rust-lang/rust/issues/64352. r? @eddyb
2019-09-26Add test for E0543Guillaume Gomez-8/+18
2019-09-26Upgrade env_logger to 0.7Mateusz MikuĊ‚a-2/+2
2019-09-26Rename some `_sty` variables to `_kind`varkor-16/+16
2019-09-26Rename `subst::Kind` to `subst::GenericArg`varkor-321/+341
2019-09-26Auto merge of #62661 - arielb1:never-reserve, r=nikomatsakisbors-51/+339
reserve `impl<T> From<!> for T` this is necessary for never-type stabilization. cc #57012 #35121 I think we wanted a crater run for this @nikomatsakis? r? @nikomatsakis
2019-09-26cargotest: bump ironMazdak Farrokhzad-459/+2
2019-09-26cargotest: bump webrenderMazdak Farrokhzad-1/+1
2019-09-26issue-#45696-scribble...: remove outdated comment.Mazdak Farrokhzad-5/+3
2019-09-26rm "src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.migrate.stderr"Mazdak Farrokhzad-36/+0
2019-09-26remove feature(nll) in more cases.Mazdak Farrokhzad-81/+47
2019-09-26remove feature(nll) from #27868 test.Mazdak Farrokhzad-3/+1
2019-09-26remove feature(nll) from #31567 test.Mazdak Farrokhzad-3/+1
2019-09-26remove feature(nll) from #45157 test.Mazdak Farrokhzad-30/+1
2019-09-26add test for #53432.Mazdak Farrokhzad-0/+22
2019-09-26Adjust & --bless tests due to no longer downgrading NLL errors on 2015.Mazdak Farrokhzad-1174/+104
2019-09-26rustc_mir: remove dead code for downgrading errors.Mazdak Farrokhzad-58/+1
2019-09-26Refuse downgrading NLL errors on Rust 2015.Mazdak Farrokhzad-4/+2
2019-09-26Auto merge of #64513 - varkor:sty-begone, r=eddybbors-736/+735
Rename `TyS.sty` to `TyS.kind` Fixes https://github.com/rust-lang/rust/issues/64353. r? @eddyb
2019-09-25Add test case for issue #64732Haoran Wang-0/+31
2019-09-25update rtpSpawn's parameters type(It's prototype has been updated in libc)Baoshan Pang-2/+2
2019-09-25Remove unused DepTrackingMapMark Rousskov-156/+3
2019-09-26Update src/libstd/net/udp.rsmessense-1/+1
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-09-25Fix format macro expansions spans to be macro-generatedStephen Crane-12/+9
New Exprs generated as part of the format macro expansion should get the macro expansion span which has an expansion context, not the span of the format string which does not.
2019-09-25Fix issue #64732Haoran Wang-1/+7
Based on issue #64732, when creating a byte literal with single quotes, the suggestion message would indicate that you meant to write a `str` literal, but we actually meant to write a byte string literal. So I changed the unescape_error_reporting.rs to decide whether to print out "if you meant to write a `str` literal, use double quotes", or "if you meant to write a byte string literal, use double quotes".
2019-09-25Fix ExitStatus on FuchsiaTyler Mandry-75/+93
Fuchsia exit codes don't follow the convention of libc::WEXITSTATUS et al, and they are 64 bits instead of 32 bits. This gives Fuchsia its own representation of ExitStatus. Additionally, the zircon syscall structs were out of date, causing us to see bogus return codes.
2019-09-25Auto merge of #64785 - Manishearth:clippyup, r=Manishearthbors-14/+10
Update clippy We had a series of breakages, getting this in fast before more things break. https://github.com/rust-lang/rust-clippy/pull/4574 r? @ghost
2019-09-25Update clippyManish Goregaokar-14/+10
2019-09-26Simplify `style_or_override`AnthonyMikh-6/+4
2019-09-26Use `sort_by_key` rather than `sort_by`AnthonyMikh-2/+2
2019-09-26Simplify `Emitter::fix_multispan_in_std_macros`AnthonyMikh-64/+65
1. Rewrite `if let` into `match` to return earl and avoid indenting giant block 2. Assign `spans_updated` only once
2019-09-25Fix falloutvarkor-2/+2
2019-09-25Remove tx_to_llvm_workers from TyCtxtMark Rousskov-70/+42
This can be kept within the codegen backend crates entirely
2019-09-25Unify order of variables in chained comparisonAnthonyMikh-1/+1
2019-09-25Use Option::map_or where applicableAnthonyMikh-8/+3
2019-09-25Use map + sum instead of fold for computing Unicode widthAnthonyMikh-9/+9
2019-09-25address rebase damageAriel Ben-Yehuda-3/+3
2019-09-25Simplify Unicode-aware trimmingAnthonyMikh-12/+15
2019-09-25Use `max` instead of `if`sAnthonyMikh-9/+3
2019-09-25Use `saturating_sub` where applicableAnthonyMikh-18/+6
2019-09-25Auto merge of #64774 - alexcrichton:update-cargo, r=ehussbors-0/+0
Update cargo 4 commits in aa6b7e01abce30091cc594cb23a15c46cead6e24..ab6fa8908c9b6c8f7e2249231c395eebfbc49891 2019-09-24 17:19:12 +0000 to 2019-09-25 17:00:56 +0000 - Fix macOS collection of CPU data (rust-lang/cargo#7429) - Don't ever capture CPU state if timings are disabled (rust-lang/cargo#7428) - Change build-std to use --sysroot (rust-lang/cargo#7421) - set -Zmtime_on_use from config or ENV (rust-lang/cargo#7411)
2019-09-25Only add sanitizer runtimes when linking an executable (#64629).Christian Holler (:decoder)-1/+3
2019-09-25Update cargoAlex Crichton-0/+0
4 commits in aa6b7e01abce30091cc594cb23a15c46cead6e24..ab6fa8908c9b6c8f7e2249231c395eebfbc49891 2019-09-24 17:19:12 +0000 to 2019-09-25 17:00:56 +0000 - Fix macOS collection of CPU data (rust-lang/cargo#7429) - Don't ever capture CPU state if timings are disabled (rust-lang/cargo#7428) - Change build-std to use --sysroot (rust-lang/cargo#7421) - set -Zmtime_on_use from config or ENV (rust-lang/cargo#7411)
2019-09-25Fix rebasevarkor-7/+7
2019-09-25Rename surviving uses of `sty`varkor-34/+33
2019-09-25Rename `sty` to `kind`varkor-691/+691
2019-09-25Rename non-`TyS` uses of `sty`varkor-5/+5
2019-09-25update ui testsGuillaume Gomez-4/+9