Michael Goulet
65b029b468
Don't inline tainted MIR bodies
2024-08-08 20:53:25 -04:00
Michael Goulet
40d132f0f8
Make sure that args are compatible in resolve_associated_item
2024-07-24 22:59:57 -04:00
Oli Scherer
2e3842b6d0
Mark all missing generic args as errors
2024-06-03 13:16:56 +00:00
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
Matthias Krüger
fc5085d570
add test for #90192
...
Fixes #90192
2024-03-24 09:19:29 +01:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
2024-02-16 20:02:50 +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
af93c20c06
Rename lots of files that had generator
in their name
2023-10-20 21:14:02 +00:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
Oli Scherer
60956837cf
s/Generator/Coroutine/
2023-10-20 21:10:38 +00:00
许杰友 Jieyou Xu (Joe)
edafbaffb2
Adjust UI tests for unit_bindings
...
- Either explicitly annotate `let x: () = expr;` where `x` has unit
type, or remove the unit binding to leave only `expr;` instead.
- Fix disjoint-capture-in-same-closure test
2023-06-12 20:24:48 +08:00
Camille GILLOT
ed7e50e08b
Ensure mir_drops_elaborated_and_const_checked when requiring codegen.
2023-04-21 16:14:43 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00