Files
rust/compiler/rustc_error_codes/src/error_codes
Yuki Okushi 5d555bf239 Rollup merge of #86477 - tlyu:e0716-clarification, r=JohnTitor
E0716: clarify that equivalent code example is erroneous

In E0716, there is a code block that is equivalent to the erroneous
code example. Especially when viewed with `rustc --explain`, it's
not obvious that it is also erroneous, and some users have been
confused when they try to change their code to match the erroneous
equivalent.

`@rustbot` label +A-diagnostics +D-newcomer-roadblock +T-compiler
2021-07-05 07:13:22 +09:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-13 07:49:16 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-24 00:17:40 -05:00
…
2021-01-24 00:17:40 -05:00
2021-01-24 00:17:40 -05:00
…
…
…
…
…
…
…
…
2021-07-01 17:48:19 +02:00
…
…
…
…
2020-09-15 18:10:41 +02:00
…
…
…
…
2021-03-23 17:16:20 +00:00
2021-01-13 07:49:16 -05:00
…
…
…
2021-04-16 13:04:02 +08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-12-04 22:17:06 +09:00
…
…
…
…
…
2020-09-01 23:05:56 +10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-25 12:20:25 +01:00
…
…
2021-06-07 14:20:39 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-15 16:50:48 +11:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-12-06 20:30:07 +00:00
…
…
…
…
…
…
…
2021-04-02 04:27:18 +09:00
…
…
…
…
…
…
…
…
…
…
2020-10-10 18:02:53 +09:00
…
…
…
…
…
…
…
2020-09-01 18:38:14 +01:00
…
2021-01-07 20:20:58 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-22 22:24:46 +10:00
…
…
…
…
…
…
…
…
…
2021-02-01 18:22:13 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-02-17 18:08:30 +01:00
2021-02-15 19:16:39 +01:00
…
…
…
2021-04-08 02:52:00 +08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-09-07 18:48:22 -07:00
…
…
…
…
…
…
2021-01-13 07:49:16 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-14 07:42:15 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-01-13 07:49:16 -05:00
…
…
…
…
2020-12-26 18:24:10 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-04-08 02:52:00 +08:00
2020-09-08 21:07:52 +02:00
2020-09-21 21:04:56 +02:00
…
2021-06-06 22:54:00 +02:00
…
…
…
…
…
…
…
…
2020-12-26 18:24:10 +01:00
…
2020-09-08 21:32:03 +02:00
2020-09-30 18:10:17 +01:00
2020-09-30 18:10:17 +01:00
2021-04-13 16:55:54 +02:00
2021-04-13 16:55:54 +02:00