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 12 pull requests #74073

Merged
merged 34 commits into from
Jul 6, 2020
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b4337ab
added .collect() into String from Box<str> with fake feature/stabilit…
djugei May 27, 2020
f772587
Add unstable docs for rustc_attrs
pickfire Jun 27, 2020
725918f
Update src/doc/unstable-book/src/language-features/rustc-attrs.md
pickfire Jun 27, 2020
0e6f109
Add preamable on rustc-attrs doc discussion
pickfire Jun 28, 2020
49b4804
Ignore example compile in rustc-attrs doc
pickfire Jun 29, 2020
aab37fe
Add test for issue #56175
da-x Jun 27, 2020
5427d3b
Fix try_print_visible_def_path for Rust 2018
da-x Jun 29, 2020
f77b6fe
Review fix
da-x Jul 1, 2020
4030b73
Use `Span`s to identify unreachable subpatterns in or-patterns
Nadrieril Jul 2, 2020
7a3081b
add `lazy_normalization_consts` feature gate
lcnr Jul 3, 2020
8900502
Remove unnecessary release from Arc::try_unwrap
tmiasko Jul 4, 2020
20d6941
ConstCx to LocalDefId
lcnr Jul 4, 2020
dbcabc2
instantiate_opaque_types LocalDefId
lcnr Jul 4, 2020
f5305c3
nit
lcnr Jul 4, 2020
66fb778
Make `rustc_peek` a safe intrinsic
oli-obk Jun 27, 2020
394b8cd
Match on `Symbol` instead of `&str` for type-checking intrinsics.
oli-obk Jun 28, 2020
dcbe85a
Explain exhaustive matching on {usize,isize} maximum values
JohnTitor Jul 1, 2020
b93ecc1
Address code reviews
JohnTitor Jul 4, 2020
3cb31b6
Fix #71977
Nadrieril Jul 2, 2020
bc0d619
Fix spacing in Iterator fold doc
pickfire Jul 5, 2020
016e9f8
expected found `&T` -> `T`
lcnr Jul 5, 2020
9cb1ffd
variant_count: avoid incorrect dummy implementation
RalfJung Jul 5, 2020
5311daa
Rollup merge of #72688 - djugei:master, r=Amanieu
Manishearth Jul 5, 2020
e2ae88d
Rollup merge of #73787 - pickfire:rustc-attrs, r=RalfJung
Manishearth Jul 5, 2020
fed2013
Rollup merge of #73834 - oli-obk:safe_intrinsics, r=ecstatic-morse
Manishearth Jul 5, 2020
3e78eac
Rollup merge of #73871 - da-x:private-types-2018-no-extern, r=petroch…
Manishearth Jul 5, 2020
a1ac4d6
Rollup merge of #73937 - JohnTitor:note-exhaustive-sized-int, r=varkor
Manishearth Jul 5, 2020
e450646
Rollup merge of #73973 - Nadrieril:fix-71977, r=matthewjasper
Manishearth Jul 5, 2020
0eadeda
Rollup merge of #74000 - lcnr:lazy_normalisation_consts, r=varkor
Manishearth Jul 5, 2020
aef2ca6
Rollup merge of #74025 - tmiasko:try-unwrap, r=Amanieu
Manishearth Jul 5, 2020
a1c076f
Rollup merge of #74027 - lcnr:ConstCx-local-def-id, r=varkor
Manishearth Jul 5, 2020
4591b0f
Rollup merge of #74055 - pickfire:patch-1, r=jonas-schievink
Manishearth Jul 5, 2020
b4710bd
Rollup merge of #74057 - lcnr:expected_found, r=davidtwco
Manishearth Jul 5, 2020
e624363
Rollup merge of #74064 - RalfJung:variant-count-bootstrap, r=kennytm
Manishearth Jul 5, 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
nit
Co-authored-by: varkor <github@varkor.com>
  • Loading branch information
lcnr and varkor authored Jul 4, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f5305c3d16fb8221463ef604a1ea5ac11506ba6d
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ pub fn check_live_drops(tcx: TyCtxt<'tcx>, def_id: LocalDefId, body: &mir::Body<
return;
}

let ccx = ConstCx { body, tcx, def_id: def_id, const_kind, param_env: tcx.param_env(def_id) };
let ccx = ConstCx { body, tcx, def_id, const_kind, param_env: tcx.param_env(def_id) };

let mut visitor = CheckLiveDrops { ccx: &ccx, qualifs: Qualifs::default() };