Deadbeef
6d905a8cc1
fix tidy
2023-05-02 10:32:08 +00:00
Deadbeef
abb181dfd9
make it semantic error
2023-05-02 10:32:08 +00:00
Deadbeef
bf3ca5979e
try gating early, add non-ascii test
2023-05-02 10:32:08 +00:00
Deadbeef
a49570fd20
fix TODO comments
2023-05-02 10:32:07 +00:00
Deadbeef
76d1f93896
update and add a few tests
2023-05-02 10:30:09 +00:00
Léo Lanteri Thauvin
963305bda8
Forbid the use of #[target_feature]
on start
2023-03-12 14:57:38 +01:00
Léo Lanteri Thauvin
db26693982
Forbid the use of #[target_feature]
on main
2023-03-12 14:57:38 +01:00
Léo Lanteri Thauvin
ad2bcb5c0e
Forbid #[target_feature]
on safe default implementations
2023-03-10 13:50:51 +01:00
Léo Lanteri Thauvin
bfe5189904
Revert "Stabilize #![feature(target_feature_11)]
"
...
This reverts commit b379d216ee
.
2023-03-02 13:41:17 +01:00
Léo Lanteri Thauvin
b379d216ee
Stabilize #![feature(target_feature_11)]
2023-02-01 08:53:02 +01:00
Esteban Küber
d86835769c
Make structured suggestion for fn casting verbose
2023-01-30 21:55:25 +00:00
Esteban Küber
5ae8e23816
Mention fn coercion rules (needs to be expanded)
2023-01-30 21:51:33 +00:00
Esteban Küber
62ba3e70a1
Modify primary span label for E0308
...
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Matthias Krüger
9e3f330656
Rollup merge of #106897 - estebank:issue-99430, r=davidtwco
...
Tweak E0597
CC #99430
2023-01-25 22:19:52 +01:00
Matthew J Perez
1e22280f23
Add suggestions for function pointers
...
- On compiler-error's suggestion of moving this lower down the stack,
along the path of `report_mismatched_types()`, which is used
by `rustc_hir_analysis` and `rustc_hir_typeck`.
- update ui tests, add test
- add suggestions for references to fn pointers
- modify `TypeErrCtxt::same_type_modulo_infer` to take `T: relate::Relate` instead of `Ty`
2023-01-24 14:02:56 -05:00
Esteban Küber
656db98bd9
Tweak E0597
...
CC #99430
2023-01-15 19:46:20 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00