bors[bot]
14d2700b6f
Merge #3217 #3366
...
3217: Fix string_lit_as_bytes lint for macros r=phansch a=yaahallo
Prior to this change, string_lit_as_bytes would trigger for constructs
like `include_str!("filename").as_bytes()` and would recommend fixing it
by rewriting as `binclude_str!("filename")`.
This change updates the lint to act as an EarlyLintPass lint. It then
differentiates between string literals and macros that have bytes
yielding alternatives.
Closes #3205
3366: Don't expand macros in some suggestions r=oli-obk a=phansch
Fixes #1148
Fixes #1628
Fixes #2455
Fixes #3023
Fixes #3333
Fixes #3360
Co-authored-by: Jane Lusby <jlusby42@gmail.com >
Co-authored-by: Philipp Hansch <dev@phansch.net >
2018-10-28 17:13:34 +00:00
..
2018-10-27 15:47:56 +02:00
2018-10-27 15:47:56 +02:00
2018-10-06 09:43:08 -07:00
2018-10-24 20:27:26 -07:00
2018-10-10 19:10:44 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-18 18:57:16 +02:00
2018-10-06 09:43:08 -07:00
2018-10-08 22:34:10 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-17 11:20:42 +08:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-12 17:07:48 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-11 15:18:58 -07:00
2018-10-06 09:43:08 -07:00
2018-10-11 15:42:22 -07:00
2018-10-11 15:18:58 -07:00
2018-10-06 09:43:08 -07:00
2018-10-15 20:34:45 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-11 15:43:13 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-27 15:47:56 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-15 04:44:39 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-16 23:23:31 +02:00
2018-10-06 09:43:08 -07:00
2018-10-26 01:15:55 +09:00
2018-10-08 13:07:21 +03:00
2018-10-06 09:43:08 -07:00
2018-10-19 16:34:16 -04:00
2018-10-08 06:20:32 +11:00
2018-10-11 15:43:13 -07:00
2018-10-27 15:47:56 +02:00
2018-10-24 23:39:54 -04:00
2018-10-14 10:30:04 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-12 04:48:54 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-24 16:18:01 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-23 20:44:31 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-18 23:37:43 +02:00
2018-10-06 09:43:08 -07:00
2018-10-12 17:07:48 -07:00
2018-10-06 09:43:08 -07:00
2018-10-28 13:56:50 +01:00
2018-10-06 09:43:08 -07:00
2018-10-17 11:20:42 +08:00
2018-10-06 09:43:08 -07:00
2018-10-09 23:35:10 -07:00
2018-10-06 09:43:08 -07:00
2018-10-13 00:42:55 +02:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-26 09:12:01 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-11 15:18:58 -07:00
2018-10-06 09:43:08 -07:00
2018-10-20 06:29:17 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-06 09:43:08 -07:00
2018-10-24 23:32:33 -04:00
2018-10-06 09:43:08 -07:00
2018-10-24 16:18:01 +02:00
2018-10-08 06:59:55 +01:00
2018-10-06 09:43:08 -07:00