| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-11-27 | Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakis | bors | -51/+65 | |
| Point at end of macro arm when encountering EOF Fix #52866. | ||||
| 2018-11-27 | resolve: Extern prelude is for type namespace only | Vadim Petrochenkov | -0/+8 | |
| 2018-11-26 | test: Add basic test for VaList | Dan Robertson | -0/+243 | |
| 2018-11-27 | resolve: Suggest `crate::` for resolving ambiguities when appropriate | Vadim Petrochenkov | -34/+80 | |
| More precise spans for ambiguities from macros | ||||
| 2018-11-27 | resolve: Fallback to extern prelude in 2015 imports used from global 2018 ↵ | Vadim Petrochenkov | -15/+39 | |
| edition | ||||
| 2018-11-27 | resolve: Fallback to uniform paths in 2015 imports used from global 2018 edition | Vadim Petrochenkov | -2/+88 | |
| 2018-11-27 | resolve: Implement edition hygiene for imports and absolute paths | Vadim Petrochenkov | -0/+149 | |
| Use per-span hygiene in a few other places in resolve Prefer `rust_2015`/`rust_2018` helpers to comparing editions | ||||
| 2018-11-27 | Remove duplicate tests for uniform paths | Vadim Petrochenkov | -312/+0 | |
| 2018-11-26 | rustc-guide has moved | Mark Mansi | -1/+1 | |
| 2018-11-26 | Put all existential ty vars in the `ROOT` universe | scalexm | -1/+1 | |
| 2018-11-26 | add test for issue #21335 | Andy Russell | -0/+5 | |
| Fixes #21335. | ||||
| 2018-11-26 | Emit one diagnostic for multiple misplaced lifetimes | Esteban Küber | -3/+19 | |
| 2018-11-26 | Auto merge of #56070 - oli-obk:const_let, r=eddyb | bors | -32/+316 | |
| Allow assignments in const contexts fixes https://github.com/rust-lang/rust/issues/54098 fixes https://github.com/rust-lang/rust/issues/51251 fixes https://github.com/rust-lang/rust/issues/52613 | ||||
| 2018-11-25 | Try to make top-level Cargo.toml work without __CARGO_TEST_ROOT. | Eduard-Mihai Burtescu | -3/+9 | |
| 2018-11-25 | Move lifetimes before the *first* type argument | Esteban Küber | -2/+2 | |
| 2018-11-25 | Suggest appropriate place for lifetime when declared after type arguments | Esteban Küber | -0/+67 | |
| 2018-11-25 | Rollup merge of #56211 - petrochenkov:fwd, r=petrochenkov | Pietro Albini | -28/+110 | |
| [master] Forward-ports from beta https://github.com/rust-lang/rust/pull/56206 + one commit from https://github.com/rust-lang/rust/pull/55884 that was accidentally missing in https://github.com/rust-lang/rust/pull/56042 due to an off-by-one mistake in commit ranges r? @ghost | ||||
| 2018-11-25 | Rollup merge of #56207 - SimonSapin:int_to_from_bytes, r=nagisa | Pietro Albini | -2/+2 | |
| Stabilize the int_to_from_bytes feature Fixes #52963 FCP to merge completed: https://github.com/rust-lang/rust/issues/52963#issuecomment-416548327 | ||||
| 2018-11-25 | Rollup merge of #56204 - estebank:suggest-variant, r=zackmdavis | Pietro Albini | -6/+40 | |
| Suggest correct enum variant on typo Fix #37992. | ||||
| 2018-11-25 | Rollup merge of #56151 - alexcrichton:move-out-flaky-test, r=nagisa | Pietro Albini | -0/+25 | |
| Move a flaky process test out of libstd This test ensures that everything in `env::vars()` is inherited but that's not actually true because other tests may add env vars after we spawn the process, causing the test to be flaky! This commit moves the test to a run-pass test where it can execute in isolation. Along the way this removes a lot of the platform specificity of the test, using iteslf to print the environment instead of a foreign process. | ||||
| 2018-11-25 | Rollup merge of #56144 - tromey:Bug-55771-btreemap, r=alexcrichton | Pietro Albini | -8/+9 | |
| Fix BTreeSet and BTreeMap gdb pretty-printers The BTreeSet and BTreeMap gdb pretty-printers did not take the node structure into account, and consequently only worked for shallow sets. This fixes the problem by iterating over child nodes when needed. This patch avoids the current approach of implementing some of the value manipulations in debugger-indepdendent code. This was done for convenience: a type lookup was needed for the first time, and there currently are no lldb formatters for these types. Closes #55771 | ||||
| 2018-11-25 | Rollup merge of #56101 - frewsxcv:frewsxcv-dyn, r=steveklabnik | Pietro Albini | -1/+2 | |
| Incorporate `dyn` into more comments and docs. r? @rust-lang/docs | ||||
| 2018-11-25 | Rollup merge of #56072 - da-x:stabilize-literal-matcher, r=petrochenkov | Pietro Albini | -32/+0 | |
| Stabilize macro_literal_matcher This followed FCP in #35625. Closes #35625 | ||||
| 2018-11-25 | Rollup merge of #56045 - qnighy:additional-sizedness, r=cramertj | Pietro Albini | -44/+91 | |
| Check arg/ret sizedness at ExprKind::Path This PR solves three problems: - #50940: ICE on casting unsized tuple struct constructors - Unsized tuple struct constructors were callable in presence of `unsized_locals`. - https://github.com/rust-lang/rust/issues/48055#issuecomment-437178966: we cannot relax `Sized` bounds on stable functions because of fn ptr casting These are caused by lack of `Sized`ness checks for arguments/retvals at **reference sites of `FnDef` items** (not call sites of the functions). Therefore we can basically add more `Sized` obligations on typeck. However, adding `Sized` obligations arbitrarily breaks type inference; to prevent that I added a new method `require_type_is_sized_deferred` which doesn't interfere usual type inference. | ||||
| 2018-11-25 | Rollup merge of #56024 - oli-obk:const_fn_collect_inner, r=michaelwoerister | Pietro Albini | -3/+30 | |
| Don't auto-inline const functions fixes #53451 | ||||
| 2018-11-25 | resolve: Fix some more asserts in import validation | Vadim Petrochenkov | -25/+61 | |
| 2018-11-25 | resolve: Fix bad span arithmetics in import conflict diagnostics | Vadim Petrochenkov | -3/+20 | |
| 2018-11-25 | resolve: Prohibit relative paths in visibilities on 2018 edition | Vadim Petrochenkov | -0/+29 | |
| 2018-11-25 | Stabilize the int_to_from_bytes feature | Simon Sapin | -2/+2 | |
| Fixes #52963 | ||||
| 2018-11-25 | Auto merge of #55921 - scalexm:placeholders, r=nikomatsakis | bors | -2/+3 | |
| Add placeholder types Fixes #48696 (handle universes in canonicalization of type inference vars), and fixes #55098. | ||||
| 2018-11-25 | Auto merge of #55959 - matthewjasper:remove-end-region, r=nikomatsakis | bors | -1116/+21 | |
| Cleanup from lexical MIR borrowck removal Lexical MIR borrowck was removed months ago now, and `EndRegion`s are no longer used for MIRI verification. * Remove `rustc::mir::StatementKind::EndRegion` and the `-Zemit_end_regions` flag * Use `RegionVid` instead of `Region` in BorrowSet * Rewrite drop generation to create fewer goto terminators. r? @nikomatsakis | ||||
| 2018-11-24 | Suggest correct enum variant on typo | Esteban Küber | -6/+40 | |
| 2018-11-24 | Try to work around #53332 in `src/test/run-pass/rustc-rust-log.rs` | scalexm | -0/+1 | |
| 2018-11-24 | Add test for source files feature | Guillaume Gomez | -0/+15 | |
| 2018-11-24 | Clean up array/slice of primitive validation | Oliver Scherer | -0/+16 | |
| 2018-11-24 | Remove stderr file, because the test passes now | Oliver Scherer | -11/+0 | |
| 2018-11-24 | Reintroduce zst-slice reading `read_bytes` method on `Memory` | Oliver Scherer | -1/+2 | |
| 2018-11-24 | Properly test for int pointers in fat pointers to str slices of zero chars | Oliver Scherer | -21/+12 | |
| 2018-11-24 | Add regression test for integral pointers in zst str slice fat pointers | Oliver Scherer | -0/+26 | |
| 2018-11-24 | Fix NLL ui test | scalexm | -2/+2 | |
| 2018-11-23 | Reword EOF in macro arm message | Esteban Küber | -3/+3 | |
| 2018-11-23 | Fix proc-macro test after internal API change | Esteban Küber | -2/+2 | |
| 2018-11-23 | Keep label on moved spans and point at macro invocation on parse error | Esteban Küber | -7/+17 | |
| 2018-11-23 | Point at macro arm when it doesn't expand to an expression | Esteban Küber | -0/+3 | |
| 2018-11-23 | Reword incorrect macro invocation primary label | Esteban Küber | -37/+37 | |
| 2018-11-23 | Add label when replacing primary DUMMY_SP in macro expansion | Esteban Küber | -1/+1 | |
| 2018-11-23 | Point at end of macro arm when encountering EOF | Esteban Küber | -15/+16 | |
| Fix #52866 | ||||
| 2018-11-23 | Merge branch 'master' into frewsxcv-dyn | Corey Farwell | -207/+431 | |
| 2018-11-24 | Rollup merge of #56120 - SergioBenitez:subspan, r=alexcrichton | kennytm | -0/+182 | |
| Add unstable Literal::subspan(). Take 2 of #55971. Still ~wrong, but now with a comment! (and less of a surface) Unblocks #49219. r? @alexcrichton | ||||
| 2018-11-24 | Rollup merge of #56097 - ogoffart:union-abi, r=eddyb | kennytm | -0/+6 | |
| Fix invalid bitcast taking bool out of a union represented as a scalar As reported in https://github.com/rust-lang/rust/pull/54668#issuecomment-440186476 | ||||
