Oli Scherer
eab2adb660
Continue to borrowck even if there were previous errors
2024-02-08 08:10:43 +00:00
r0cky
c7519d42c2
Update tests
2024-02-07 10:42:01 +08:00
Jake Goulding
53eca9fa87
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
2024-01-02 15:34:37 -05:00
Maybe Waffle
b863e9ba57
Stabilize ptr::{from_ref, from_mut}
2023-12-15 08:34:59 -08:00
surechen
40ae34194c
remove redundant imports
...
detects redundant imports that can be eliminated.
for #117772 :
In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
2023-12-10 10:56:22 +08: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
León Orell Valerian Liehr
f54db7c3a9
Gate and validate #[rustc_safe_intrinsic]
2023-09-25 22:33:15 +02:00
Samuel Thibault
dcea7709f2
added support for GNU/Hurd
2023-09-21 17:31:25 +02:00
Olanti
8216f17d7d
Move issue 29181, 2804, 17431, 66768
2023-08-24 20:44:08 +03:00
Caio
c62d49e75e
Address comment
2023-05-29 12:07:41 -03:00
yukang
6b76588222
suggest struct when we get colon in fileds in enum
2023-05-08 14:58:09 +08:00
The 8472
61fb5a91b7
layout-alignment-promotion logic should depend on the niche-bias
...
For start-biased layout we want to avoid overpromoting so that
the niche doesn't get pushed back.
For end-biased layout we want to avoid promoting fields that
may contain one of the niches of interest.
2023-04-28 23:08:54 +02:00
The 8472
4907dac54c
don't promote large fields to higher alignments if that would affect niche placement
2023-04-27 22:29:03 +02:00
The 8472
faf2da3e2f
try two different niche-placement strategies when layouting univariant structs
2023-04-27 22:29:03 +02:00
Maybe Waffle
214e65c2eb
Add unuseless #[allow(unused_allocation)]
2023-03-03 17:47:48 +00:00
Florian Bartels
3ce2cd059f
Add QNX Neutrino support to libstd
...
Co-authored-by: gh-tr <troach@qnx.com>
2023-02-28 15:59:47 +01:00
Michael Goulet
9dd5d3e8e4
Recover _ as .. in field pattern
2023-02-02 06:10:02 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00