mejrs
cbeb244b05
Add more track_caller
2022-10-31 16:14:29 +01:00
Matthias Krüger
790a716420
Rollup merge of #103383 - compiler-errors:tait-scope, r=oli-obk
...
Note scope of TAIT more accurately
This maybe explains why the person was confused in #101897 , since we say "same module" but really should've said "same impl".
r? ``@oli-obk``
2022-10-29 08:57:35 +02:00
Boxy
ca5a6e43dd
use proper spans
2022-10-27 22:18:26 +01:00
Boxy
c00ff9c4d0
DoIt
2022-10-27 21:48:47 +01:00
Xiretza
cd621be782
Convert all #[suggestion_*] attributes to #[suggestion(style = "...")]
...
Using the following command:
find compiler/ -type f -name '*.rs' -exec perl -i -gpe \
's/(#\[\w*suggestion)_(short|verbose|hidden)\(\s*(\S+,)?/\1(\3style = "\2",/g' \
'{}' +
2022-10-26 15:04:09 +02:00
Oli Scherer
1c26a278f3
Split diagnostic details out into a separate function and fluent files
2022-10-25 18:28:04 +00:00
Nilstrieb
c65ebae221
Migrate all diagnostics
2022-10-23 10:09:44 +02:00
Michael Goulet
4accf838f6
Note scope of TAIT more accurately
2022-10-22 03:09:49 +00:00
lcnr
fb3ab13a1c
rustc_hir_typeck: fix paths and partially mv files
2022-10-20 17:53:14 +02:00
yukang
e747201ad8
find the correct lang item for ranges
2022-10-04 21:02:07 +08:00
yukang
5dd44d4d4c
fix #102396 , suggest parentheses for possible range methods
2022-10-04 17:30:52 +08:00
David Wood
c4418e1940
errors: rename typeck.ftl to hir_analysis.ftl
...
In #102306 , `rustc_typeck` was renamed to `rustc_hir_analysis` but the
diagnostic resources were not renamed - which is what this commit
changes.
Signed-off-by: David Wood <david.wood@huawei.com >
2022-10-03 13:52:17 +01:00
lcnr
1fc86a63f4
rustc_typeck to rustc_hir_analysis
2022-09-27 10:37:23 +02:00