Skip to content

Commit

Permalink
Clean up E0512 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 10, 2020
1 parent 1b521f5 commit 1d01ce2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0512.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Transmute with two differently sized types was attempted. Erroneous code
example:
Transmute with two differently sized types was attempted.

Erroneous code example:

```compile_fail,E0512
fn takes_u8(_: u8) {}
Expand Down

0 comments on commit 1d01ce2

Please sign in to comment.