Oli Scherer
aef0f4024a
Error on using yield
without also using #[coroutine]
on the closure
...
And suggest adding the `#[coroutine]` to the closure
2024-04-24 08:05:29 +00:00
Oli Scherer
96d24f2dd1
Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco"
...
This reverts commit 65cd843ae0
, reversing
changes made to d255c6a57c
.
2024-03-11 21:28:16 +00:00
Oli Scherer
55ea94402b
Run a single huge par_body_owners
instead of many small ones after each other.
...
This improves parallel rustc parallelism by avoiding the bottleneck after each individual `par_body_owners` (because it needs to wait for queries to finish, so if there is one long running one, a lot of cores will be idle while waiting for the single query).
2024-03-11 08:48:03 +00:00
Oli Scherer
9062697917
Always evaluate free constants and statics, even if previous errors occurred
2024-02-19 22:11:13 +00:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
2024-02-16 20:02:50 +00:00
Oli Scherer
eab2adb660
Continue to borrowck even if there were previous errors
2024-02-08 08:10:43 +00:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
yukang
3ddf6f7c17
use maybe_body_owned_by for closure
2023-07-14 07:12:35 +08:00
Camille GILLOT
844c1cc5fe
Remove DesugaringKind::Replace.
2023-05-25 17:40:46 +00:00
Urgau
1c7ab18c08
Rename drop_copy
lint to dropping_copy_types
2023-05-21 13:37:32 +02:00
Urgau
61ff2718f7
Adjust tests for new drop and forget lints
2023-05-10 19:36:02 +02:00
Oli Scherer
334423263a
Run check_match
and check_liveness
when MIR is built instead of having an explicit phase for them
2023-04-21 22:32:38 +00:00
Giacomo Pasini
b3a47d9b6b
Desugars drop and replace at MIR build
...
This commit desugars the drop and replace deriving from an
assignment at MIR build, avoiding the construction of the
DropAndReplace terminator (which will be removed in a followign PR)
In order to retain the same error messages for replaces a new
DesugaringKind::Replace variant is introduced.
2023-03-03 16:33:11 +01:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00