-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 7 pull requests #68077
Rollup of 7 pull requests #68077
Commits on Jan 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cc0fbdf - Browse repository at this point
Copy the full SHA cc0fbdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b770b0 - Browse repository at this point
Copy the full SHA 5b770b0View commit details -
Fix an ICE happening due code assuming that
MPlaceTy
cannot have in……teger addresses
Configuration menu - View commit details
-
Copy full SHA for 4a5c35b - Browse repository at this point
Copy the full SHA 4a5c35bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cac6f4c - Browse repository at this point
Copy the full SHA cac6f4cView commit details -
Poison any
MemPlace
created from a zst Operand (or otherwise via `M……PlaceTy::dangling`) so you can't get the address back out.
Configuration menu - View commit details
-
Copy full SHA for 4fbe434 - Browse repository at this point
Copy the full SHA 4fbe434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23b0c47 - Browse repository at this point
Copy the full SHA 23b0c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1990db - Browse repository at this point
Copy the full SHA a1990dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7f5952 - Browse repository at this point
Copy the full SHA f7f5952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c372b - Browse repository at this point
Copy the full SHA 29c372bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b24e5 - Browse repository at this point
Copy the full SHA d0b24e5View commit details
Commits on Jan 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9c0000c - Browse repository at this point
Copy the full SHA 9c0000cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c556151 - Browse repository at this point
Copy the full SHA c556151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dcdbae - Browse repository at this point
Copy the full SHA 0dcdbaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 542be6f - Browse repository at this point
Copy the full SHA 542be6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b522ba0 - Browse repository at this point
Copy the full SHA b522ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffcdbad - Browse repository at this point
Copy the full SHA ffcdbadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 705e087 - Browse repository at this point
Copy the full SHA 705e087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ae322 - Browse repository at this point
Copy the full SHA 33ae322View commit details
Commits on Jan 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bcab59e - Browse repository at this point
Copy the full SHA bcab59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 956265d - Browse repository at this point
Copy the full SHA 956265dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f75ccde - Browse repository at this point
Copy the full SHA f75ccdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae6e31b - Browse repository at this point
Copy the full SHA ae6e31bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6329e - Browse repository at this point
Copy the full SHA 4e6329eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db97ed - Browse repository at this point
Copy the full SHA 2db97edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69b1e5c - Browse repository at this point
Copy the full SHA 69b1e5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 402907f - Browse repository at this point
Copy the full SHA 402907fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7472f9e - Browse repository at this point
Copy the full SHA 7472f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b743af6 - Browse repository at this point
Copy the full SHA b743af6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dafa6a - Browse repository at this point
Copy the full SHA 5dafa6aView commit details -
Update src/librustc_mir/interpret/place.rs
Co-Authored-By: Ralf Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e632940 - Browse repository at this point
Copy the full SHA e632940View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4fa5bb - Browse repository at this point
Copy the full SHA a4fa5bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5c4fa8 - Browse repository at this point
Copy the full SHA c5c4fa8View commit details -
Allow specifying LLVM args in target specifications
Jethro Beekman committedJan 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 010b66d - Browse repository at this point
Copy the full SHA 010b66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 915db7a - Browse repository at this point
Copy the full SHA 915db7aView commit details -
Extend support of
_
in type parameters- Account for `impl Trait<_>`. - Provide a reasonable `Span` for empty `Generics` in `impl`s. - Account for `fn foo<_>(_: _) {}` to suggest `fn foo<T>(_: T) {}`. - Fix rust-lang#67995.
Configuration menu - View commit details
-
Copy full SHA for c751961 - Browse repository at this point
Copy the full SHA c751961View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e04cf0 - Browse repository at this point
Copy the full SHA 6e04cf0View commit details
Commits on Jan 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 63e2e44 - Browse repository at this point
Copy the full SHA 63e2e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fc4158 - Browse repository at this point
Copy the full SHA 6fc4158View commit details -
Add a
constness
field toast::TraitRef
This is used for both the `?const` syntax in bounds as well as the `impl const Trait` syntax. I also considered handling these separately by adding a variant of `TraitBoundModifier` and a field to `ItemKind::Impl`, but this approach was less intrusive.
Configuration menu - View commit details
-
Copy full SHA for fd4a6a1 - Browse repository at this point
Copy the full SHA fd4a6a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c3fe9d - Browse repository at this point
Copy the full SHA 1c3fe9dView commit details -
Parse
?const Trait
bound syntaxThe grammar also handles `?const ?Trait` even though this is semantically redundant.
Configuration menu - View commit details
-
Copy full SHA for 0cf52a7 - Browse repository at this point
Copy the full SHA 0cf52a7View commit details -
Error when new syntax is lowered
This means the new syntax will always fail to compile, even when the feature gate is enabled. These checks will be removed in a later PR once the implementation is done.
Configuration menu - View commit details
-
Copy full SHA for b390fc4 - Browse repository at this point
Copy the full SHA b390fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31edbe9 - Browse repository at this point
Copy the full SHA 31edbe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d843e00 - Browse repository at this point
Copy the full SHA d843e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 343e157 - Browse repository at this point
Copy the full SHA 343e157View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b11f0 - Browse repository at this point
Copy the full SHA b6b11f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9950a1f - Browse repository at this point
Copy the full SHA 9950a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14730ed - Browse repository at this point
Copy the full SHA 14730edView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1c003 - Browse repository at this point
Copy the full SHA fd1c003View commit details -
Rollup merge of rust-lang#66463 - estebank:point-at-closure-and-opaqu…
…e-types, r=Centril Point at opaque and closure type definitions in type errors Fixes rust-lang#57266, fixes rust-lang#67117.
Configuration menu - View commit details
-
Copy full SHA for fd9991c - Browse repository at this point
Copy the full SHA fd9991cView commit details -
Rollup merge of rust-lang#67501 - oli-obk:test-slice-patterns, r=Ralf…
…Jung Reduce special treatment for zsts addresses rust-lang#67467 (comment) cc @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 79bb166 - Browse repository at this point
Copy the full SHA 79bb166View commit details -
Rollup merge of rust-lang#67820 - ecstatic-morse:const-trait, r=oli-obk
Parse the syntax described in RFC 2632 This adds support for both `impl const Trait for Ty` and `?const Trait` bound syntax from rust-lang/rfcs#2632 to the parser. For now, both modifiers end up in a newly-added `constness` field on `ast::TraitRef`, although this may change once the implementation is fleshed out. I was planning on using `delay_span_bug` when this syntax is encountered during lowering, but I can't write `should-ice` UI tests. I emit a normal error instead, which causes duplicates when the feature gate is not enabled (see the `.stderr` files for the feature gate tests). Not sure what the desired approach is; Maybe just do nothing when the syntax is encountered with the feature gate is enabled? @oli-obk I went with `const_trait_impl` and `const_trait_bound_opt_out` for the names of these features. Are these to your liking? cc rust-lang#67792 rust-lang#67794 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 98e6e05 - Browse repository at this point
Copy the full SHA 98e6e05View commit details -
Rollup merge of rust-lang#67922 - Centril:lowering-cleanup, r=petroch…
…enkov rustc_ast_lowering: misc cleanup & rustc dep reductions - The first two commits do some code simplification. - The next three do some file splitting (getting `lib.rs` below the 3kloc tidy lint). - The remaining commits reduce the number of `rustc::` imports. This works towards making lowering independent of the `rustc` crate. r? @oli-obk cc @Zoxc
Configuration menu - View commit details
-
Copy full SHA for b8b0742 - Browse repository at this point
Copy the full SHA b8b0742View commit details -
Rollup merge of rust-lang#68059 - jethrogb:jb/target-llvm-args, r=ale…
…xcrichton Allow specifying LLVM args in target specifications
Configuration menu - View commit details
-
Copy full SHA for 0d959ad - Browse repository at this point
Copy the full SHA 0d959adView commit details -
Rollup merge of rust-lang#68071 - estebank:ice-67995, r=Centril
Extend support of `_` in type parameters - Account for `impl Trait<_>`. - Provide a reasonable `Span` for empty `Generics` in `impl`s. - Account for `fn foo<_>(_: _) {}` to suggest `fn foo<T>(_: T) {}`. - Fix rust-lang#67995. Follow up to rust-lang#67597.
Configuration menu - View commit details
-
Copy full SHA for 25e57f4 - Browse repository at this point
Copy the full SHA 25e57f4View commit details -
Rollup merge of rust-lang#68073 - Centril:fix-68062, r=estebank
expect `fn` after `const unsafe` / `const extern` Fixes rust-lang#68062 r? @estebank @petrochenkov cc @Aaron1011
Configuration menu - View commit details
-
Copy full SHA for a33e7c6 - Browse repository at this point
Copy the full SHA a33e7c6View commit details