| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-05 | stash API: remove panic to fix ICE. | Mazdak Farrokhzad | -0/+65 | |
| 2020-02-27 | Cherry-pick the LLVM fix for #69225 | Josh Stone | -0/+33 | |
| 2020-02-21 | lintify conflicting_repr_hints | Mazdak Farrokhzad | -1/+11 | |
| 2020-02-21 | Revert "Remove `checked_add` in `Layout::repeat`" | Sebastian Hahn | -0/+31 | |
| This fixes a a segfault in safe code, a stable regression. Reported in \#69225. This reverts commit a983e0590a43ed8b0f60417828efd4e79b51f494. Also adds a test for the expected behaviour. | ||||
| 2020-01-27 | Rollup merge of #68562 - hjung4:spell, r=jonas-schievink | Pietro Albini | -1/+1 | |
| Fix spelling errors | ||||
| 2020-01-26 | update | comet | -1/+1 | |
| 2020-01-27 | Auto merge of #68447 - estebank:sugg-type-param, r=petrochenkov | bors | -1/+3 | |
| Suggest defining type parameter when appropriate ``` error[E0412]: cannot find type `T` in this scope --> file.rs:3:12 | 3 | impl Trait<T> for Struct {} | - ^ not found in this scope | | | help: you might be missing a type parameter: `<T>` ``` Fix #64298. | ||||
| 2020-01-26 | Suggest defining type parameter when appropriate | Esteban Küber | -1/+3 | |
| ``` error[E0412]: cannot find type `T` in this scope --> file.rs:3:12 | 3 | impl Trait<T> for Struct {} | - ^ not found in this scope | | | help: you might be missing a type parameter: `<T>` ``` Fix #64298. | ||||
| 2020-01-26 | rustc_span: move pretty syntax from macro_backtrace to ExpnKind::descr. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-01-24 | Add opt-level=0 to test | Thomas Lively | -1/+1 | |
| 2020-01-24 | Update LLVM to fix crash on Emscripten targets | Thomas Lively | -0/+8 | |
| Adds a small Rust regression test for #66308. r? @alexcrichton | ||||
| 2020-01-19 | review comments | Esteban Küber | -6/+6 | |
| 2020-01-19 | When encountering an expected named lifetime and none are present, suggest ↵ | Esteban Küber | -6/+30 | |
| adding one | ||||
| 2020-01-18 | slice_patterns: remove gates in tests | Mazdak Farrokhzad | -17/+6 | |
| 2020-01-17 | Auto merge of #68305 - Dylan-DPC:rollup-aoohsz8, r=Dylan-DPC | bors | -16/+114 | |
| Rollup of 6 pull requests Successful merges: - #67956 (Detail transitive containment in E0588 diagnostic) - #68153 (resolve: Point at the private item definitions in privacy errors) - #68195 (Account for common `impl Trait`/`dyn Trait` return type errors) - #68288 (Fix some of the rustfmt fallout in Miri) - #68292 (don't clone types that are copy) - #68301 (Don't propagate __RUST_TEST_INVOKE to subprocess) Failed merges: r? @ghost | ||||
| 2020-01-17 | Rollup merge of #68195 - estebank:impl-trait-2000, r=Centril | Dylan DPC | -0/+9 | |
| Account for common `impl Trait`/`dyn Trait` return type errors - When all return paths have the same type, suggest `impl Trait`. - When all return paths implement the expected `trait`, suggest `Box<dyn Trait>` and mention using an `enum`. - When multiple different types are returned and `impl Trait` is expected, extend the explanation. - When return type is `impl Trait` and the return paths do not implement `Trait`, point at the returned values. - Split `src/librustc/traits/error_reporting.rs` into multiple files to keep size under control. Fix #68110, cc #66523. | ||||
| 2020-01-17 | Auto merge of #67731 - matthewjasper:drop-in-place-reclimit, r=eddyb | bors | -36/+0 | |
| Handle recursive instantiation of drop shims The compiler used to hang because the recursion limit was never hit. | ||||
| 2020-01-16 | Ignore some tests on platforms without libstd spans | Vadim Petrochenkov | -2/+7 | |
| 2020-01-16 | resolve: Point at the private item definitions in privacy errors | Vadim Petrochenkov | -14/+98 | |
| 2020-01-16 | review comments | Esteban Küber | -2/+2 | |
| 2020-01-16 | When trait bounds are missing for return values, point at them | Esteban Küber | -0/+9 | |
| 2020-01-16 | Rollup merge of #68096 - varkor:diagnostic-cleanup, r=Centril | Dylan DPC | -6/+6 | |
| Clean up some diagnostics by making them more consistent In general: - Diagnostic should start with a lowercase letter. - Diagnostics should not end with a full stop. - Ellipses contain three dots. - Backticks should encode Rust code. I also reworded a couple of messages to make them read more clearly. It might be sensible to create a style guide for diagnostics, so these informal conventions are written down somewhere, after which we could audit the existing diagnostics. r? @Centril | ||||
| 2020-01-15 | Add test for issue-66473 | Yuki Okushi | -0/+0 | |
| 2020-01-12 | Add backticks in appropriate places | varkor | -3/+3 | |
| 2020-01-12 | Diagnostics should start lowercase | varkor | -3/+3 | |
| 2020-01-11 | Rollup merge of #67930 - lzutao:result-as_deref, r=dtolnay | Mazdak Farrokhzad | -38/+2 | |
| Rename Result::as_deref_ok to as_deref Addresses https://github.com/rust-lang/rust/issues/50264#issuecomment-533952247 r? @dtolnay | ||||
| 2020-01-11 | Auto merge of #65912 - estebank:variants-orig, r=petrochenkov | bors | -5/+28 | |
| Point at the span for the definition of crate foreign ADTs Follow up to #65421. Partially addresses #65386. Blocked on #53081. | ||||
| 2020-01-11 | Update test after renaming Result::as_deref | Lzu Tao | -38/+2 | |
| 2020-01-11 | Rollup merge of #68106 - varkor:self_self_use, r=estebank | Mazdak Farrokhzad | -0/+6 | |
| Fix issue with using `self` module via indirection Fixes https://github.com/rust-lang/rust/issues/68103. | ||||
| 2020-01-11 | Rollup merge of #68084 - estebank:ice-68000, r=varkor | Mazdak Farrokhzad | -0/+67 | |
| Do not ICE on unicode next point Use `shrink_to_hi` instead of `next_point` and fix `next_point`. Fix #68000, fix #68091, fix #68092. | ||||
| 2020-01-11 | Rollup merge of #68079 - varkor:E0013-clarify, r=Centril | Mazdak Farrokhzad | -9/+22 | |
| Clarify suggestion for E0013 Fixes https://github.com/rust-lang/rust/issues/68038. | ||||
| 2020-01-10 | Fix issue with using `self` module via indirection | varkor | -0/+6 | |
| 2020-01-11 | Rollup merge of #68014 - estebank:unify-e0599, r=cramertj | Yuki Okushi | -75/+76 | |
| Unify output of "variant not found" errors Fix #49566. | ||||
| 2020-01-10 | Ignore platforms that can't point to std | Esteban Küber | -7/+15 | |
| 2020-01-10 | Use `def_span` to minimize definition span to first line when possible | Esteban Küber | -28/+12 | |
| 2020-01-10 | Point at the span for the definition of crate foreign ADTs | Esteban Küber | -6/+37 | |
| 2020-01-10 | Add ICE regression tests | Esteban Küber | -0/+44 | |
| 2020-01-10 | Clarify suggestion for E0013 | varkor | -9/+22 | |
| 2020-01-10 | Introduce `#![feature(half_open_range_patterns)]`. | Mazdak Farrokhzad | -20/+91 | |
| This feature adds `X..`, `..X`, and `..=X` patterns. | ||||
| 2020-01-09 | Do not ICE on unicode next point | Esteban Küber | -0/+23 | |
| Use `shrink_to_hi` instead of `next_point` Fix #68000. | ||||
| 2020-01-10 | Rollup merge of #66463 - estebank:point-at-closure-and-opaque-types, r=Centril | Mazdak Farrokhzad | -0/+2 | |
| Point at opaque and closure type definitions in type errors Fixes #57266, fixes #67117. | ||||
| 2020-01-09 | Update tests | Vadim Petrochenkov | -33/+335 | |
| 2020-01-09 | Rollup merge of #68023 - FSciammarella:master, r=Centril,varkor | Mazdak Farrokhzad | -2/+2 | |
| Fix issue #68008 Correcting Typo on error message. From "substract" to "subtract". Fixes #68008. | ||||
| 2020-01-08 | Fix Typo on cannot "substract" | Felipe Sciammarella | -2/+2 | |
| Fix Typo on hir::BinOpKind::Sub "substract" to "subtract" Fix Typo on "Error cannot substract" Fix Typo on cannot "substract" | ||||
| 2020-01-08 | Explain that associated types and consts can't be accessed directly on the ↵ | Esteban Küber | -1/+5 | |
| trait's path | ||||
| 2020-01-08 | review comments | Esteban Küber | -1/+1 | |
| 2020-01-08 | Point at opaque and closure type definitions in type errors | Esteban Küber | -0/+2 | |
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -75/+76 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -33/+20 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-06 | fire "non_camel_case_types" for associated types | Andy Russell | -0/+3 | |
