Skip to content

Commit d36991a

Browse files
authored
Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC
Clean up E0512 explanation r? @Dylan-DPC
2 parents f699a55 + 1d01ce2 commit d36991a

File tree

1 file changed

+3
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-2
lines changed

src/librustc_error_codes/error_codes/E0512.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Transmute with two differently sized types was attempted. Erroneous code
2-
example:
1+
Transmute with two differently sized types was attempted.
2+
3+
Erroneous code example:
34

45
```compile_fail,E0512
56
fn takes_u8(_: u8) {}

0 commit comments

Comments
 (0)