| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-09 | fix error code for E0751 | YI | -1/+1 | |
| 2020-04-21 | Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkov | Dylan DPC | -0/+12 | |
| Check that main/start is not async * Add new error code E0752 * Add span to hir::IsAsync::Yes * Emit an error if main or the start function is marked as async * Add two regression tests This PR fixes #68523. | ||||
| 2020-04-20 | Check that main/start is not async | Sebastian Malton | -0/+12 | |
| * Add new error code E0752 * Add span to hir::IsAsync::Yes * Emit an error if main or the start function is marked as async * Add two regression tests Fix formatting errors and bless test outputs * move tests to ui/async-await fix test error text remove span from IsAsync | ||||
| 2020-04-19 | Rollup merge of #71319 - GuillaumeGomez:cleanup-e0522, r=Dylan-DPC | Dylan DPC | -4/+7 | |
| Clean up E0522 explanation r? @Dylan-DPC | ||||
| 2020-04-19 | Clean up E0522 explanation | Guillaume Gomez | -4/+7 | |
| 2020-04-17 | Rollup merge of #70578 - PankajChaudhary5:master, r=GuillaumeGomez | Dylan DPC | -1/+58 | |
| Add long error explanation for E0657 Added proper error explanation for issue E0657 in the Rust compiler. Part of #61137 r? @GuillaumeGomez | ||||
| 2020-04-16 | Rollup merge of #70611 - pawanbisht62:doc/61137-add-long-error-code-e0708, ↵ | Dylan DPC | -2/+27 | |
| r=GuillaumeGomez Add long error explanation for E0708 #61137 Add long explanation for the E0708 error code Part of #61137 r? @GuillaumeGomez | ||||
| 2020-04-16 | Rollup merge of #71191 - GuillaumeGomez:cleanup-e0520, r=Dylan-DPC | Dylan DPC | -1/+3 | |
| Clean up E0520 explanation r? @Dylan-DPC | ||||
| 2020-04-16 | Clean up E0520 explanation | Guillaume Gomez | -1/+3 | |
| 2020-04-16 | Rollup merge of #71166 - GuillaumeGomez:cleanup-e0518, r=Dylan-DPC | Dylan DPC | -3/+3 | |
| Clean up E0518 explanation r? @Dylan-DPC | ||||
| 2020-04-15 | Clean up E0518 explanation | Guillaume Gomez | -3/+3 | |
| 2020-04-14 | Rollup merge of #71120 - GuillaumeGomez:cleanup-e0517, r=Dylan-DPC | Dylan DPC | -2/+1 | |
| Clean up E0517 explanation r? @Dylan-DPC | ||||
| 2020-04-14 | Clean up E0517 explanation | Guillaume Gomez | -2/+1 | |
| 2020-04-13 | Add proper explanation of error code E0657 | PankajChaudhary5 | -1/+58 | |
| 2020-04-12 | Rollup merge of #71057 - GuillaumeGomez:cleanup-e0516, r=Dylan-DPC | Dylan DPC | -0/+1 | |
| Clean up E0516 explanation r? @Dylan-DPC | ||||
| 2020-04-12 | Rollup merge of #71034 - GuillaumeGomez:cleanup-e0515, r=Dylan-DPC | Dylan DPC | -4/+4 | |
| Clean up E0515 explanation r? @Dylan-DPC | ||||
| 2020-04-12 | Clean up E0516 explanation | Guillaume Gomez | -0/+1 | |
| 2020-04-12 | Add long error explanation for E0708 #61137 | bishtpawan | -2/+27 | |
| Refactor code as per the suggestions Refacotor code provide edition support | ||||
| 2020-04-11 | Clean up E0515 explanation | Guillaume Gomez | -4/+4 | |
| 2020-04-10 | Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC | Mazdak Farrokhzad | -2/+3 | |
| Clean up E0512 explanation r? @Dylan-DPC | ||||
| 2020-04-10 | Clean up E0512 explanation | Guillaume Gomez | -2/+3 | |
| 2020-04-10 | Rollup merge of #70952 - GuillaumeGomez:cleanup-e0511, r=Dylan-DPC | Mazdak Farrokhzad | -2/+3 | |
| Clean up E0511 explanation r? @Dylan-DPC | ||||
| 2020-04-10 | Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasper | Mazdak Farrokhzad | -3/+3 | |
| Replace "rc"/"arc" lang items with Rc/Arc diagnostic items. `Rc`/`Arc` should have no special semantics, so it seems appropriate for them to not be lang items. r? @matthewjasper | ||||
| 2020-04-09 | Clean up E0511 explanation | Guillaume Gomez | -2/+3 | |
| 2020-04-09 | Rollup merge of #70916 - Centril:track-caller-ffi, r=eddyb | Mazdak Farrokhzad | -12/+1 | |
| Support `#[track_caller]` on functions in `extern "Rust" { ... }` Fixes https://github.com/rust-lang/rust/issues/70830 which is the follow-up to @eddyb's suggestion in https://github.com/rust-lang/rust/pull/69251#discussion_r380791634 to allow `#[track_caller]` on `fn`s in FFI imports, that is, on functions in `extern "Rust" { ... }` blocks. This requires that the other side, the FFI export, also have the `#[track_caller]` attribute. Otherwise, undefined behavior is triggered and the blame lies, as usual, with the `unsafe { ... }` block which called the FFI imported function. After this PR, all forms of `fn` items with the right ABI (`"Rust"`) support `#[track_caller]`. As a drive-by, the PR also hardens the check rejecting `#[naked] #[track_caller]` such that methods and other forms of `fn` items are also considered. r? @eddyb cc @rust-lang/lang | ||||
| 2020-04-09 | track_caller: support on FFI imports | Mazdak Farrokhzad | -12/+1 | |
| 2020-04-08 | Rollup merge of #70927 - GuillaumeGomez:cleanup-e0510, r=Dylan-DPC | Dylan DPC | -7/+20 | |
| Clean up E0510 explanation r? @Dylan-DPC | ||||
| 2020-04-08 | Rollup merge of #70883 - GuillaumeGomez:cleanup-e0507, r=Dylan-DPC | Dylan DPC | -6/+6 | |
| Clean up E0507 explanation r? @Dylan-DPC | ||||
| 2020-04-08 | Clean up E0510 explanation | Guillaume Gomez | -7/+20 | |
| 2020-04-08 | Replace "rc"/"arc" lang items with Rc/Arc diagnostic items. | Eduard-Mihai Burtescu | -3/+3 | |
| 2020-04-07 | Clean up E0507 explanation | Guillaume Gomez | -6/+6 | |
| 2020-04-07 | Rollup merge of #70839 - GuillaumeGomez:cleanup-e0506, r=Dylan-DPC | Dylan DPC | -34/+26 | |
| clean up E0506 explanation r? @Dylan-DPC | ||||
| 2020-04-07 | Rollup merge of #70690 - GuillaumeGomez:cleanup-e0501, r=Dylan-DPC | Dylan DPC | -9/+11 | |
| Clean up E0501 explanation r? @Dylan-DPC | ||||
| 2020-04-06 | Clean up E0501 explanation | Guillaume Gomez | -9/+11 | |
| 2020-04-06 | clean up E0506 explanation | Guillaume Gomez | -34/+26 | |
| 2020-04-03 | Rollup merge of #70735 - GuillaumeGomez:cleanup-e0502, r=Dylan-DPC | Mazdak Farrokhzad | -2/+1 | |
| Clean up E0502 explanation r? @Dylan-DPC | ||||
| 2020-04-03 | Clean up E0502 explanation | Guillaume Gomez | -2/+1 | |
| 2020-04-01 | Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC | Dylan DPC | -2/+2 | |
| clean up E0468 explanation r? @Dylan-DPC | ||||
| 2020-04-01 | clean up E0468 explanation | Guillaume Gomez | -2/+2 | |
| 2020-03-31 | Rollup merge of #70606 - GuillaumeGomez:cleanup-e0466, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| Clean up E0466 explanation r? @Dylan-DPC | ||||
| 2020-03-31 | Rollup merge of #70562 - lcnr:const-arr_len, r=Centril | Mazdak Farrokhzad | -2/+2 | |
| infer array len from pattern closes #70529 This still errors in the following case ```rust #![feature(const_generics)] fn arr<const N: usize>() -> [u8; N] { todo!() } fn main() { match arr() { [5, ..] => (), //~^ ERROR cannot pattern-match on an array without a fixed length [_, _] => (), } } ``` Considering that this should be rare and is harder to implement I would merge this PR without *fixing* the above. | ||||
| 2020-03-31 | Rollup merge of #70548 - Ersikan:master, r=GuillaumeGomez | Mazdak Farrokhzad | -1/+22 | |
| Add long error code for error E0226 Added a long description message for error E0226, which previously did not exist. As requested in issue #61137 r? @GuillaumeGomez | ||||
| 2020-03-31 | Clean up E0466 explanation | Guillaume Gomez | -1/+1 | |
| 2020-03-30 | update tests, improve variable names | Bastian Kauschke | -2/+2 | |
| 2020-03-30 | Correct long error message according to reviews | Julien Philippon | -2/+3 | |
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | Add long error code for error E0226 | Julien Philippon | -1/+21 | |
| 2020-03-29 | Auto merge of #70370 - petrochenkov:nosmatch, r=Centril | bors | -1/+1 | |
| Remove attribute `#[structural_match]` and any references to it A small remaining part of https://github.com/rust-lang/rust/issues/63438. | ||||
| 2020-03-28 | Rollup merge of #70418 - PankajChaudhary5:master, r=Dylan-DPC | Dylan DPC | -1/+18 | |
| Add long error explanation for E0703 Add long explanation for the E0703 error code Part of #61137 r? @GuillaumeGomez | ||||
| 2020-03-27 | Refactor changes | PankajChaudhary5 | -2/+0 | |
