许杰友 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-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-17 20:57:12 +00:00
2023-11-17 23:04:22 +01:00
2023-11-15 21:45:48 -05:00
2023-11-16 16:19:04 +00:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-17 14:27:20 +00:00
2023-11-15 21:45:48 -05:00
2023-11-16 21:15:07 +00:00
2023-11-15 19:41:28 -05:00
2023-11-19 18:42:20 +00:00
2023-11-17 23:04:21 +01:00
2023-11-19 07:44:43 +00:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-18 16:43:47 +00:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-19 17:50:47 +00:00
2023-11-16 16:19:04 +00:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-19 17:50:45 +00:00
2023-11-19 18:07:22 +00:00
2023-11-15 19:41:28 -05:00
2023-11-18 00:20:00 +00:00
2023-11-18 00:20:00 +00:00
2023-11-17 23:04:22 +01:00
2023-11-17 17:30:41 +11:00
2023-11-20 11:45:44 +08:00
2023-11-16 12:45:27 +00:00
2023-11-19 17:50:45 +00:00
2023-11-17 09:29:48 +00:00
2023-11-17 23:04:22 +01:00
2023-11-17 09:29:48 +00:00
2023-11-19 22:55:15 +00:00
2023-11-19 17:50:45 +00:00
2023-11-15 21:45:48 -05:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-16 16:49:22 +11:00
2023-11-19 18:07:22 +00:00
2023-11-15 19:41:28 -05:00
2023-11-17 13:28:07 +03:00
2023-11-17 23:28:17 +03:00
2023-11-16 22:56:25 +00:00
2023-11-15 19:41:28 -05:00
2023-11-19 18:42:20 +00:00
2023-11-18 02:57:09 +00:00
2023-11-19 18:42:20 +00:00
2023-11-18 00:20:00 +00:00
2023-11-17 23:28:17 +03:00