Jubilee
c19d56c902
Rollup merge of #132828 - est31:let_chains_parsing_tests, r=compiler-errors
...
Additional tests to ensure let is rejected during parsing
In the original stabilization PR, @ `compiler-errors` has [pointed out](https://github.com/rust-lang/rust/pull/94927#issuecomment-1165156328 ) that #97295 wasn't enough to address the concerns about having `let` in expressions being rejected at parsing time, instead of later.
Thankfully, since then the situation has been greatly improved by #115677 . This PR adds some additional tests to `disallowed-positions.rs`, and adds two additional revisions to the "normal" case which is now given the `feature` name:
* `no_feature`: Added to incorporate `disallowed-positions-without-feature-gate.rs` into the file, reducing duplication.
* `nothing`: like feature, but all functions are cfg'd out. Ensures that the errors are really emitted during parsing.
cc tracking issue #53667
2024-11-09 20:28:46 -08:00
..
2024-11-09 03:22:09 +09:00
2024-10-10 01:13:29 +02:00
2024-10-20 17:14:53 +08:00
2024-10-28 14:20:28 +11:00
2024-11-07 21:19:03 +09:00
2024-10-29 16:26:57 +00:00
2024-11-03 13:55:52 -08:00
2024-09-25 13:26:48 +02:00
2024-10-30 16:22:23 +00:00
2024-10-29 16:26:57 +00:00
2024-11-08 04:56:08 +00:00
2024-10-20 08:34:15 -06:00
2024-10-29 16:26:57 +00:00
2024-10-11 20:38:43 +02:00
2024-11-04 22:56:47 +01:00
2024-10-16 12:22:14 +02:00
2024-09-13 14:10:56 +03:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-25 20:31:40 +02:00
2024-11-03 13:55:52 -08:00
2024-09-23 14:04:22 +02:00
2024-10-29 16:26:57 +00:00
2024-10-16 09:41:49 +02:00
2024-11-09 03:22:09 +09:00
2024-11-05 08:30:56 +00:00
2024-10-14 22:32:32 +02:00
2024-10-21 15:22:17 +01:00
2024-09-26 22:26:29 -04:00
2024-10-29 16:26:57 +00:00
2024-10-17 06:33:35 -07:00
2024-10-31 18:20:11 +08:00
2024-11-03 13:55:52 -08:00
2024-11-03 18:59:31 +00:00
2024-11-07 17:49:45 +01:00
2024-11-06 20:02:42 +01:00
2024-10-09 20:58:27 +11:00
2024-09-20 10:02:14 -07:00
2024-11-03 18:59:31 +00:00
2024-11-04 20:40:44 -08:00
2024-10-29 16:26:57 +00:00
2024-10-24 03:17:28 -04:00
2024-11-04 18:12:48 +01:00
2024-09-27 21:35:08 +02:00
2024-10-29 18:38:57 +01:00
2024-11-05 21:54:45 +00:00
2024-10-29 16:26:57 +00:00
2024-09-18 19:36:44 +02:00
2024-10-11 17:36:04 +02:00
2024-10-11 17:36:04 +02:00
2024-09-24 22:17:55 +02:00
2024-11-01 01:46:23 +00:00
2024-08-28 22:55:57 +09:00
2024-11-03 18:55:19 +00:00
2024-11-08 09:16:00 +01:00
2024-10-29 16:26:57 +00:00
2024-11-08 09:16:00 +01:00
2024-11-03 13:55:52 -08:00
2024-10-05 10:13:18 +02:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-09-13 14:10:56 +03:00
2024-08-16 14:10:06 -04:00
2024-10-29 16:26:57 +00:00
2024-09-13 14:10:56 +03:00
2024-10-29 16:26:57 +00:00
2024-11-03 18:59:31 +00:00
2024-08-31 15:35:42 +03:00
2024-10-06 01:44:59 +00:00
2024-10-29 16:26:57 +00:00
2024-09-20 01:20:10 +03:00
2024-11-06 20:02:42 +01:00
2024-09-05 06:37:38 -04:00
2024-11-03 13:55:52 -08:00
2024-11-02 03:08:04 +00:00
2024-11-03 13:55:52 -08:00
2024-10-02 17:36:31 +08:00
2024-09-15 09:51:32 +02:00
2024-10-08 11:15:24 +08:00
2024-10-29 16:26:57 +00:00
2024-11-03 13:55:52 -08:00
2024-11-08 09:16:00 +01:00
2024-11-05 20:10:49 +01:00
2024-11-03 13:55:52 -08:00
2024-11-08 17:43:13 -08:00
2024-10-30 16:47:47 -07:00
2024-10-29 16:26:57 +00:00
2024-11-04 18:12:48 +01:00
2024-09-22 13:55:06 -04:00
2024-10-30 16:47:47 -07:00
2024-11-09 19:16:43 +01:00
2024-09-20 10:02:14 -07:00
2024-10-27 21:23:28 -04:00
2024-11-03 13:55:52 -08:00
2024-09-13 14:10:56 +03:00
2024-11-03 13:55:52 -08:00
2024-10-12 09:41:42 +08:00
2024-09-29 11:57:18 -04:00
2024-10-31 13:12:22 +08:00
2024-11-09 00:23:53 -06:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-11-03 12:08:54 +01:00
2024-10-24 04:33:14 +08:00
2024-10-29 16:26:57 +00:00
2024-09-22 13:55:06 -04:00
2024-09-06 17:06:35 +03:00
2024-11-03 13:55:52 -08:00
2024-11-04 18:12:48 +01:00
2024-10-28 14:20:28 +11:00
2024-11-04 12:06:19 +01:00
2024-08-18 19:46:53 +02:00
2024-10-05 17:12:46 +02:00
2024-09-27 14:40:38 +01:00
2024-11-03 18:59:31 +00:00
2024-11-08 03:46:27 +00:00
2024-11-03 13:55:52 -08:00
2024-10-19 12:40:12 +00:00
2024-10-31 17:33:42 +08:00
2024-11-02 21:29:59 +01:00
2024-10-22 12:55:16 +00:00
2024-11-03 13:55:52 -08:00
2024-10-15 14:25:55 +02:00
2024-10-29 16:26:57 +00:00
2024-10-05 19:10:47 -04:00
2024-10-05 19:10:47 -04:00
2024-11-05 21:54:45 +00:00
2024-09-24 23:12:02 +02:00
2024-11-04 23:27:45 +01:00
2024-11-08 16:58:19 +00:00
2024-08-25 20:30:06 +08:00
2024-11-10 01:18:35 +01:00
2024-10-12 13:01:36 +02:00
2024-10-11 17:36:04 +02:00
2024-10-11 11:30:08 -04:00
2024-10-19 12:40:12 +00:00
2024-10-30 10:48:08 +00:00
2024-09-18 13:53:31 -07:00
2024-10-06 01:44:59 +00:00
2024-09-22 13:55:06 -04:00
2024-11-03 18:48:24 +00:00
2024-11-04 23:27:45 +01:00
2024-11-07 16:16:38 -08:00
2024-10-06 22:36:51 -04:00
2024-11-07 18:48:21 -08:00
2024-10-22 19:48:44 +00:00
2024-11-07 18:18:34 -08:00
2024-11-02 03:08:04 +00:00
2024-10-24 03:17:28 -04:00
2024-11-08 09:16:00 +01:00
2024-11-08 16:58:19 +00:00
2024-10-29 16:26:57 +00:00
2024-11-09 03:17:24 +09:00
2024-10-28 14:12:17 +08:00
2024-09-20 17:25:34 +00:00
2024-08-24 05:32:52 +02:00
2024-10-31 00:09:52 +00:00
2024-11-09 23:32:06 +01:00
2024-11-03 13:55:52 -08:00
2024-11-02 03:08:04 +00:00
2024-11-02 03:08:04 +00:00
2024-11-03 13:55:52 -08:00
2024-08-28 22:55:57 +09:00
2024-11-08 04:56:08 +00:00
2024-11-07 20:56:36 +00:00
2024-09-22 13:55:06 -04:00
2024-09-13 21:01:29 +02:00
2024-10-29 16:26:57 +00:00
2024-10-26 13:33:36 +02:00
2024-10-06 22:35:40 -04:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-14 14:40:11 -04:00
2024-10-15 14:58:54 -04:00
2024-10-29 16:26:57 +00:00
2024-11-02 03:08:04 +00:00
2024-08-22 09:36:14 -07:00
2024-08-22 09:36:14 -07:00
2024-11-02 14:40:37 -07:00
2024-11-03 13:55:52 -08:00
2024-11-03 13:55:52 -08:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-11-02 03:08:04 +00:00
2024-09-13 14:10:56 +03:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-11-06 20:02:42 +01:00
2024-11-06 20:02:42 +01:00
2024-09-21 13:04:14 +02:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-30 16:47:47 -07:00