Michael Goulet
7e38b70cc0
Split note, fix const/static impl trait error
2024-01-07 18:00:03 +00:00
León Orell Valerian Liehr
3d0297a1e1
Deny defaults for higher-ranked generic parameters
2024-01-01 21:58:25 +01:00
bohan
e16efbd23a
fallback default
to None
during ast-loweing for lifetime binder
2023-12-26 16:10:29 +08:00
Nadrieril
70deb9a57f
Disallow arm bodies on never patterns
2023-12-03 12:25:46 +01:00
Nadrieril
06a8ed10b6
Disallow guards on never patterns
2023-12-03 12:25:46 +01:00
Nadrieril
a2dcb3a6d9
Disallow an arm without a body (except for never patterns)
...
Parsing now accepts a match arm without a body, so we must make sure to
only accept that if the pattern is a never pattern.
2023-12-03 12:25:46 +01:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
Michael Goulet
ef04c9795b
Deprecate E0706
2023-10-13 21:01:36 +00:00
Esteban Küber
041e54bd92
Tweak wording of E0562
...
Fix #80476 .
2023-10-04 19:51:43 +00:00
yukang
f9a9ff20a2
cleanup on messages
2023-09-12 07:27:17 +08:00
clubby789
f97fddab91
Ensure Fluent messages are in alphabetical order
2023-05-25 23:49:35 +00:00
Michael Goulet
8b592db27a
Add (..)
syntax for RTN
2023-03-28 01:14:28 +00:00
Michael Goulet
104aacb49f
Add tests and error messages
2023-03-28 01:02:15 +00:00
est31
7e2ecb3cd8
Simplify message paths
...
This makes it easier to open the messages file while developing on features.
The commit was the result of automatted changes:
for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done
for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
2023-03-11 22:51:57 +01:00