许杰友 Jieyou Xu (Joe)
8da09aed94
Add allow-by-default lint for unit bindings
...
This lint is not triggered if any of the following conditions are met:
- The user explicitly annotates the binding with the `()` type.
- The binding is from a macro expansion.
- The user explicitly wrote `let () = init;`
- The user explicitly wrote `let pat = ();`. This is allowed for local
lifetimes.
2023-11-20 11:45:44 +08:00
..
2023-11-08 20:42:32 +00:00
2023-10-04 21:09:54 +00:00
2023-09-21 22:20:58 +02:00
2023-10-04 21:09:54 +00:00
2023-06-15 03:18:21 +00:00
2023-06-15 03:18:21 +00:00
2023-06-15 03:18:21 +00:00
2023-06-15 03:18:21 +00:00
2023-09-23 04:19:14 +00:00
2023-09-23 04:19:14 +00:00
2023-09-23 04:19:14 +00:00
2023-09-21 22:20:58 +02:00
2023-08-28 03:16:48 -07:00
2023-08-28 03:16:48 -07:00
2023-11-02 20:57:05 +00:00
2023-11-02 20:57:05 +00:00
2023-06-20 19:46:01 -04:00
2023-08-28 03:16:48 -07:00
2023-09-21 22:20:58 +02:00
2023-09-21 22:20:58 +02:00
2023-09-21 22:20:58 +02:00
2023-09-21 22:20:58 +02:00
2023-09-21 22:20:58 +02:00
2023-09-21 22:20:58 +02:00
2023-11-02 20:57:05 +00:00
2023-10-18 18:59:02 +00:00
2023-10-18 18:59:02 +00:00
2023-11-20 11:45:44 +08:00
2023-08-28 17:47:37 -03:00
2023-08-28 17:47:37 -03:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-06-09 21:57:37 +00:00
2023-09-21 22:20:58 +02:00
2023-03-21 15:28:11 +08:00
2023-03-21 15:28:11 +08:00
2023-06-05 19:05:15 -07:00
2023-06-05 19:05:15 -07:00
2023-09-24 23:39:33 -05:00
2023-09-24 23:39:33 -05:00
2023-06-28 23:56:58 +02:00
2023-06-28 23:56:58 +02:00
2023-06-28 17:51:01 +00:00
2023-04-11 17:45:42 +00:00
2023-04-22 00:47:07 -04:00