about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-10-07Rebase rustc-rayon on rayon-1.2Josh Stone-10/+10
See also https://github.com/rust-lang/rustc-rayon/pull/3
2019-10-07use 'invalid argument' for vxWorksBaoshanPang-1/+3
2019-10-07Update CargoMateusz MikuĊ‚a-0/+0
2019-10-07Auto merge of #61430 - matthewjasper:drop-on-into-panic, r=oli-obkbors-286/+621
Make `into` schedule drop for the destination closes #47949
2019-10-07update ui testsGuillaume Gomez-7/+48
2019-10-07Add long error explanation for E0495Guillaume Gomez-2/+41
2019-10-07Fix syntax typo in error message.Adam Perry-1/+1
2019-10-07Clarify variable names when checking track_caller methods.Adam Perry-5/+4
2019-10-07Prohibit #[track_caller] within trait impls as well as decls.Adam Perry-2/+27
2019-10-07Update expected error output.Adam Perry-2/+2
2019-10-07Expand E0738 to cover different cases.Adam Perry-12/+93
2019-10-07E073[6-8] include failing code examples.Adam Perry-4/+43
2019-10-07E0735 -> E0739Adam Perry-3/+3
Prevents number collision with another approved PR.
2019-10-07track_caller tests account for incomplete feature warning.Adam Perry-7/+54
2019-10-07track_caller error numbers and text.Adam Perry-28/+32
2019-10-07Mark #![feature(track_caller)] as incomplete.Adam Perry-0/+1
2019-10-07track_caller feature gate starts in 1.40.0.Adam Perry-1/+1
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-07track_caller run-pass test, lint cleanup, PR review.Adam Perry-32/+31
2019-10-07[RFC 2091] Add #[track_caller] attribute.Ayose-1/+199
- The attribute is behind a feature gate. - Error if both #[naked] and #[track_caller] are applied to the same function. - Error if #[track_caller] is applied to a non-function item. - Error if ABI is not "rust" - Error if #[track_caller] is applied to a trait function. Error codes and descriptions are pending.
2019-10-07add `debug!` to evaluate_obligationNiko Matsakis-0/+2
2019-10-07fix ICE from debug output by using `kind_ty` in dumping closureNiko Matsakis-2/+9
Also, make `-Zverbose` dump all info about constants.
2019-10-07avoid ICE when extracting closure-kind-ty from a canonicalized valueNiko Matsakis-1/+3
In such a case, the `Infer` is converted to a `Bound`
2019-10-07correct bug in the "has escaping regions" visitorNiko Matsakis-7/+9
Existing code could overlook types/substitutions that are embedded in (e.g.) an unevaluated constant.
2019-10-07make type-flags exhaustiveNiko Matsakis-1/+3
Didn't find any bugs here, but you really don't want these to fall out of sync.
2019-10-07Auto merge of #64780 - choller:master, r=michaelwoeristerbors-1/+3
Only add sanitizer runtimes when linking an executable (#64629). This change modifies the code to only add sanitizer runtimes if we are linking an executable, as those runtimes should never be part of libraries. I successfully compiled `mozilla-central` with ASan using this patch.
2019-10-07Auto merge of #65178 - Centril:rollup-ep1zztj, r=Centrilbors-10/+245
Rollup of 4 pull requests Successful merges: - #63948 (Add feature gate for raw_dylib.) - #65137 (remove event that causes panics in measureme tools) - #65164 (Add long error explanation for E0566) - #65173 (Update reference) Failed merges: r? @ghost
2019-10-07Update ui testsGuillaume Gomez-2/+3
2019-10-07Add long error explanation for E0561Guillaume Gomez-1/+28
2019-10-07Fix/improve some error codes long explanationGuillaume Gomez-36/+66
2019-10-07Add new test to heck if all error codes have testsGuillaume Gomez-0/+139
2019-10-07Rollup merge of #65173 - tmandry:reffy-ref, r=tmandryMazdak Farrokhzad-0/+0
Update reference - Add macros in extern blocks and new proc-macro support. - Update for "modern" `meta` matcher. - Update await desugaring after rust-lang/rust#64292
2019-10-07Rollup merge of #65164 - GuillaumeGomez:long-err-explanation-E0566, r=estebankMazdak Farrokhzad-2/+24
Add long error explanation for E0566 Part of #61137.
2019-10-07Rollup merge of #65137 - andjo403:selfProfiling_fix, r=michaelwoeristerMazdak Farrokhzad-4/+0
remove event that causes panics in measureme tools the measureme tools summarize and crox do not alow a event to go out of scope of the parent event codegen_and_optimize_crate ends after the codegen_crate event r? @wesleywiser cc @michaelwoerister @Mark-Simulacrum
2019-10-07Update src/test/ui/nll/issue-63154-normalize.rs Felix S Klock II-1/+1
review feedback Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-07Test diagnostic output of type mismatches for types that have constben-0/+48
generics arguments.
2019-10-07Fix compilation error after rebase.Charles Lew-2/+2
2019-10-07Auto merge of #64739 - guanqun:remove-as-str, r=estebankbors-1/+60
Remove as_str if the type is already &str Fix https://github.com/rust-lang/rust/issues/62642 r? @estebank do you think the suggestion tip is good enough?
2019-10-07syntax: refactor with new `fn parse_use_tree_glob_or_nested`.Mazdak Farrokhzad-10/+11
2019-10-07syntax: use `parse_extern_abi` more.Mazdak Farrokhzad-8/+1
2019-10-07Add more tests, fix span issue, improve diagnostics.Charles Lew-4/+96
2019-10-07Address review comments.Charles Lew-55/+63
2019-10-07Add support for parsing #[link_ordinal] attribute.Charles Lew-0/+44
2019-10-07Add feature gate for raw_dylib.Charles Lew-5/+78
2019-10-07syntax: unify and simplify fn signature parsing.Mazdak Farrokhzad-92/+88
2019-10-07syntax: unify trait parsing a bit.Mazdak Farrokhzad-17/+12
2019-10-07syntax: further item parsing cleanupMazdak Farrokhzad-24/+35
2019-10-07syntax: de-dups in item parsing.Mazdak Farrokhzad-50/+44
2019-10-07syntax: cleanup associated const parsing.Mazdak Farrokhzad-32/+39
2019-10-07Remove `force_ex!`.Nicholas Nethercote-14/+10
2019-10-07Auto merge of #64906 - Aaron1011:feature/extern-const-fn, r=Centrilbors-19/+301
Add support for `const unsafe? extern fn` This works just as you might expect - an `const extern fn` is a `const fn` that is callable from foreign code. Currently, panicking is not allowed in `const`s. When https://github.com/rust-lang/rfcs/pull/2345 (https://github.com/rust-lang/rust/issues/51999) is stabilized, then panicking in an `const extern fn` will produce a compile-time error when invoked at compile time, and an abort when invoked at runtime. Since this is extending the language (we're allowing the `const` keyword in a new context), I believe that this will need an FCP. However, it's a very minor change, so I didn't think that filing an RFC was necessary. This will allow libc (and other FFI crates) to make many functions `const`, without having to give up on making them `extern` as well. Tracking issue: https://github.com/rust-lang/rust/issues/64926.