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 |
|
Urgau
|
80c81c53ac
|
Allow newly added non_local_definitions lint in tests
|
2024-02-17 13:59:45 +01:00 |
|
许杰友 Jieyou Xu (Joe)
|
ec2cc761bc
|
[AUTO-GENERATED] Migrate ui tests from // to //@ directives
|
2024-02-16 20:02:50 +00:00 |
|
Jake Goulding
|
92cc57bafc
|
Remove no-longer-needed allow(dead_code) from the tests
`repr(transparent)` now silences the lint.
|
2024-01-18 13:16:09 -05:00 |
|
Jake Goulding
|
53eca9fa87
|
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
|
2024-01-02 15:34:37 -05:00 |
|
Ralf Jung
|
7e4c4271f4
|
fix computing the dynamic alignment of packed structs with dyn trait tails
|
2023-12-13 20:21:57 +01:00 |
|
Takayuki Maeda
|
87625dbf2b
|
Rollup merge of #118540 - RalfJung:unsized-packed-offset, r=TaKO8Ki
codegen, miri: fix computing the offset of an unsized field in a packed struct
`#[repr(packed)]` strikes again.
Fixes https://github.com/rust-lang/rust/issues/118537
Fixes https://github.com/rust-lang/miri/issues/3200
`@bjorn3` I assume cranelift needs the same fix.
|
2023-12-04 21:19:44 +09:00 |
|
Ralf Jung
|
ef15a8182b
|
codegen, miri: fix computing the offset of an unsized field in a packed struct
|
2023-12-03 08:26:51 +01:00 |
|
Ralf Jung
|
253d61714d
|
move packed-struct tests into packed/ folder
|
2023-12-02 14:48:07 +01: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 |
|
Oli Scherer
|
60956837cf
|
s/Generator/Coroutine/
|
2023-10-20 21:10:38 +00:00 |
|
Lukas Markeffsky
|
b6a3f126c0
|
change std::marker::Sized to just Sized
|
2023-06-15 12:01:38 +02:00 |
|
bindsdev
|
107d480892
|
improve error notes for packed struct reference diagnostic
|
2023-04-28 20:28:56 -05:00 |
|
Ralf Jung
|
dfc4a7b2d0
|
make unaligned_reference a hard error
|
2023-01-31 20:28:11 +01:00 |
|
Albert Larsan
|
cf2dff2b1e
|
Move /src/test to /tests
|
2023-01-11 09:32:08 +00:00 |
|