Skip to content
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 10 pull requests #73367

Merged
merged 30 commits into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift click to select a range
98eb29c
Fix trait alias inherent impl resolution
matthew-mcallister May 25, 2020
738f848
stabilize vec_drain_as_slice
CAD97 May 25, 2020
9cee22c
Display information about captured variable in `FnMut` error
Aaron1011 May 24, 2020
754da88
Make `fn_arg_names` return `Ident` instead of symbol
Aaron1011 Jun 11, 2020
2c11c35
Explain move errors that occur due to method calls involving `self`
Aaron1011 Jun 11, 2020
5902b2f
Use `fn_span` to point to the actual method call
Aaron1011 Jun 11, 2020
4646e2d
Run fmt
Aaron1011 Jun 12, 2020
cecfa43
Move `check_op` logic to `ops` module
ecstatic-morse May 1, 2020
d73674e
Make `Qualifs` getters public
ecstatic-morse May 1, 2020
a77f046
Add feature gate for precise live drop checking
ecstatic-morse Jun 11, 2020
f5370fa
Add `CheckLiveDrops` pass
ecstatic-morse May 3, 2020
a43e486
Add MIR phase and query for drop elaboration
ecstatic-morse May 3, 2020
21ddf4d
Ensure that `drop_elaboration_and_check_consts` runs for all const items
ecstatic-morse May 3, 2020
9e2ee32
Update incorrect error code docs
ecstatic-morse May 3, 2020
2dcf7db
Add tests for `const_precise_live_drops`
ecstatic-morse Jun 11, 2020
d82dd43
Group Pattern::strip_* method together
tesuji Jun 14, 2020
c7ad3ad
_match.rs: fix module doc comment
jonas-schievink Jun 14, 2020
5a846d7
Fix iterator copied() documentation example code
schteve Jun 14, 2020
79e08bb
structural_match: non-structural-match ty closures
davidtwco Jun 14, 2020
8361ee5
Update E0446.md
gabenodarse Jun 14, 2020
5c61a8d
Rollup merge of #71824 - ecstatic-morse:const-check-post-drop-elab, r…
RalfJung Jun 15, 2020
372cb9b
Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikoma…
RalfJung Jun 15, 2020
3d41252
Rollup merge of #72556 - matthew-mcallister:trait-alias-inherent-impl…
RalfJung Jun 15, 2020
e6510ba
Rollup merge of #72584 - CAD97:stabilize-58957, r=dtolnay
RalfJung Jun 15, 2020
5193c5d
Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=niko…
RalfJung Jun 15, 2020
ec0cb57
Rollup merge of #73336 - lzutao:pattern-group, r=sfackler
RalfJung Jun 15, 2020
35cfde1
Rollup merge of #73341 - jonas-schievink:matchdoc, r=davidtwco
RalfJung Jun 15, 2020
1f3e4e6
Rollup merge of #73342 - schteve:master, r=jonas-schievink
RalfJung Jun 15, 2020
192e9bd
Rollup merge of #73351 - gnodarse:patch-1, r=ecstatic-morse
RalfJung Jun 15, 2020
bca9e90
Rollup merge of #73353 - davidtwco:issue-73003-non-structural-match-t…
RalfJung Jun 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add feature gate for precise live drop checking
  • Loading branch information
ecstatic-morse committed Jun 13, 2020
commit a77f046c699b8ecd2352246aec8f1a571187918d
3 changes: 3 additions & 0 deletions src/librustc_feature/active.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 577,9 @@ declare_features! (
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
(active, abi_avr_interrupt, "1.45.0", Some(69664), None),

/// Be more precise when looking for live drops in a const context.
(active, const_precise_live_drops, "1.46.0", Some(73255), None),

// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/librustc_span/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 227,7 @@ symbols! {
const_loop,
const_mut_refs,
const_panic,
const_precise_live_drops,
const_raw_ptr_deref,
const_raw_ptr_to_usize_cast,
const_transmute,
Expand Down