- 01 3月, 2022 1 次提交
-
-
由 Caio 提交于
-
- 20 2月, 2022 1 次提交
-
-
由 est31 提交于
-
- 17 1月, 2022 1 次提交
-
-
由 Cameron Steffen 提交于
-
- 13 1月, 2022 1 次提交
-
-
由 Tomasz Miąsko 提交于
-
- 08 1月, 2022 1 次提交
-
-
由 Gary Guo 提交于
This span is unused and is superseded by capture_kind_expr_id in CaptureInfo
-
- 16 12月, 2021 1 次提交
-
-
由 Peter Jaszkowiak 提交于
-
- 15 12月, 2021 1 次提交
-
-
由 Nicholas Nethercote 提交于
-
- 13 12月, 2021 1 次提交
-
-
由 Cormac Relf 提交于
unify typeck of hir::Local and hir::Let remove extraneous pub(crate/super)
-
- 12 9月, 2021 1 次提交
-
-
由 Fabian Wolff 提交于
-
- 11 9月, 2021 1 次提交
-
-
由 Matthias Krüger 提交于
example: let x: String = String::new().into();
-
- 24 8月, 2021 2 次提交
-
-
由 Tomasz Miąsko 提交于
Liveness analysis for generators assumes that execution always continues normally after a yield point, not accounting for the fact that generator could be dropped before completion. If generators captures any variables by reference, those variables could be used within a generator, or when the generator completes, but also after each yield point in the case the generator is dropped. Account for the case when generator is dropped after yielding, but before running to the completion. This effectively considers all variables captured by reference to be used after a yield point.
-
由 Aman Arora 提交于
-
- 16 8月, 2021 1 次提交
-
-
由 Caio 提交于
-
- 05 8月, 2021 1 次提交
-
-
由 Nathaniel McCallum 提交于
In most calling conventions, accessing function parameters may require stack access. However, naked functions have no assembly prelude to set up stack access. This is why naked functions may only contain a single `asm!()` block. All parameter access is done inside the `asm!()` block, so we cannot validate the liveness of the input parameters. Therefore, we should disable the lint for naked functions. rust-lang/rfcs#2774 rust-lang/rfcs#2972
-
- 22 5月, 2021 2 次提交
-
-
由 Fabian Wolff 提交于
-
由 Fabian Wolff 提交于
-
- 11 5月, 2021 1 次提交
-
-
由 Andy Wang 提交于
-
- 25 4月, 2021 1 次提交
-
-
由 CohenArthur 提交于
-
- 06 4月, 2021 1 次提交
-
-
由 Amanieu d'Antras 提交于
-
- 27 3月, 2021 1 次提交
-
-
由 Josh Stone 提交于
-
- 19 3月, 2021 1 次提交
-
-
由 Jennifer Wills 提交于
make changes to liveness to use closure_min_captures use different span borrow check uses new structures rename to CapturedPlace stop using upvar_capture in regionck remove the bridge cleanup from rebase + remove the upvar_capture reference from mutability_errors.rs remove line from livenes test make our unused var checking more consistent update tests adding more warnings to the tests move is_ancestor_or_same_capture to rustc_middle/ty update names to reflect the closures add FIXME check that all captures are immutable borrows before returning add surrounding if statement like the original move var out of the loop and rename Co-authored-by: NLogan Mosier <logmosier@gmail.com> Co-authored-by: NRoxane Fruytier <roxane.fruytier@hotmail.com>
-
- 01 3月, 2021 1 次提交
-
-
由 Giacomo Stevanato 提交于
-
- 25 2月, 2021 1 次提交
-
-
由 Esteban Küber 提交于
Fix #82488
-
- 22 1月, 2021 1 次提交
-
-
由 Esteban Küber 提交于
-
- 08 1月, 2021 1 次提交
-
-
由 Caio 提交于
-
- 30 12月, 2020 1 次提交
-
- 24 12月, 2020 1 次提交
-
-
由 Matthias Krüger 提交于
-
- 09 12月, 2020 2 次提交
-
-
由 Tomasz Miąsko 提交于
-
由 Tomasz Miąsko 提交于
-
- 07 12月, 2020 1 次提交
-
-
由 Tomasz Miąsko 提交于
-
- 06 12月, 2020 2 次提交
-
-
由 LeSeulArtichaut 提交于
-
由 Tomasz Miąsko 提交于
The liveness uses a mixed representation of RWUs based on the observation that most of them have invalid reader and invalid writer. The packed variant uses 32 bits and unpacked 96 bits. Unpacked data contains reader live node and writer live node. Since live nodes are used only to determine their validity, RWUs can always be stored in a packed form with four bits for each: reader bit, writer bit, used bit, and one extra padding bit to simplify packing and unpacking operations.
-
- 11 11月, 2020 1 次提交
-
-
由 Aman Arora 提交于
-
- 19 10月, 2020 1 次提交
-
-
由 Olivia Crain 提交于
-
- 18 10月, 2020 2 次提交
-
-
由 Olivia Crain 提交于
-
由 Olivia Crain 提交于
-
- 17 10月, 2020 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 30 9月, 2020 2 次提交
-
-
由 Tomasz Miąsko 提交于
No functional changes intended.
-
由 Tomasz Miąsko 提交于
Perform liveness analysis for every body instead of limiting it to fns.
-
- 28 9月, 2020 1 次提交
-
-
由 Tomasz Miąsko 提交于
-