- 07 9月, 2021 1 次提交
-
-
由 Camille GILLOT 提交于
-
- 22 8月, 2021 1 次提交
-
-
由 Frank Steffahn 提交于
-
- 16 6月, 2021 1 次提交
-
-
由 Yuki Okushi 提交于
-
- 07 6月, 2021 1 次提交
-
-
由 Aaron Hill 提交于
-
- 02 5月, 2021 4 次提交
-
-
由 ChrisPardy 提交于
Co-authored-by: NNiko Matsakis <niko@alum.mit.edu>
-
由 ChrisPardy 提交于
Co-authored-by: NNiko Matsakis <niko@alum.mit.edu>
-
由 ChrisPardy 提交于
Co-authored-by: NNiko Matsakis <niko@alum.mit.edu>
-
由 Chris Pardy 提交于
-
- 03 4月, 2021 2 次提交
- 28 1月, 2021 1 次提交
-
-
由 Hirochika Matsumoto 提交于
-
- 15 1月, 2021 1 次提交
-
-
由 LingMan 提交于
-
- 11 9月, 2020 1 次提交
-
-
由 Aaron Hill 提交于
Fixes #73268 When a deref coercion occurs, we may end up with a move error if the base value has been partially moved out of. However, we do not indicate anywhere that a deref coercion is occuring, resulting in an error message with a confusing span. This PR adds an explicit note to move errors when a deref coercion is involved. We mention the name of the type that the deref-coercion resolved to, as well as the `Deref::Target` associated type being used.
-
- 04 9月, 2020 1 次提交
-
-
由 LeSeulArtichaut 提交于
-
- 30 8月, 2020 1 次提交
-
-
由 mark 提交于
-
- 27 6月, 2020 1 次提交
-
-
由 Aaron Hill 提交于
This is a re-attempt of #72389 (which was reverted in #73594) Instead of using `ExpnKind::Desugaring` to represent operators, this PR checks the lang item directly.
-
- 25 6月, 2020 1 次提交
-
-
由 Esteban Küber 提交于
When encountering an used moved value where the previous move happened in a `match` or `if let` pattern, suggest using `ref`. Fix #63988. When encountering a `&mut` value that is used in multiple iterations of a loop, suggest reborrowing it with `&mut *`. Fix #62112.
-
- 23 6月, 2020 1 次提交
-
-
由 Aaron Hill 提交于
This reverts commit 372cb9b6, reversing changes made to 5c61a8dc.
-
- 12 6月, 2020 1 次提交
-
-
由 Aaron Hill 提交于
-
- 29 4月, 2020 1 次提交
-
-
由 Esteban Küber 提交于
Address the diagnostics part of #70844. ``` error[E0597]: `counter` does not live long enough --> $DIR/issue-54556-niconii.rs:22:20 | LL | if let Ok(_) = counter.lock() { } | ^^^^^^^------- | | | borrowed value does not live long enough | a temporary with access to the borrow is created here ... ... LL | } | - | | | `counter` dropped here while still borrowed | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `std::result::Result<MutexGuard<'_>, ()>` | help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped | LL | if let Ok(_) = counter.lock() { }; | ^ ```
-
- 06 4月, 2020 1 次提交
-
-
由 Esteban Küber 提交于
-
- 01 4月, 2020 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 30 3月, 2020 3 次提交
-
-
由 Matthias Krüger 提交于
Makes code more compact and reduces nestig.
-
由 Mazdak Farrokhzad 提交于
-
由 Mazdak Farrokhzad 提交于
-
- 16 2月, 2020 1 次提交
-
-
由 Camille GILLOT 提交于
-
- 13 1月, 2020 4 次提交
-
-
由 Mark Mansi 提交于
-
由 Mark Mansi 提交于
-
由 mark 提交于
-
由 Mark Mansi 提交于
-
- 01 1月, 2020 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 31 12月, 2019 2 次提交
-
-
由 Ohad Ravid 提交于
-
由 Ohad Ravid 提交于
Suggest adding a lifetime constraint when opaque type is responsible for "does not live long enough" error
-
- 30 12月, 2019 1 次提交
-
-
由 mark 提交于
-
- 23 12月, 2019 1 次提交
-
-
由 Mark Rousskov 提交于
-
- 12 12月, 2019 1 次提交
-
-
由 Mark Mansi 提交于
-
- 04 12月, 2019 4 次提交
-
-
由 Mark Mansi 提交于
-
由 Mark Mansi 提交于
-
由 Mark Mansi 提交于
-
由 Mark Mansi 提交于
-