Skip to content

Commit

Permalink
--bless lint-ctypes-enum.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril authored Aug 29, 2019
1 parent 4aff84f commit 5552945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/lint/lint-ctypes-enum.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ LL | enum T { E, F, G }
error: `extern` block uses type `std::option::Option<std::ptr::Unique<u8>>` which is not FFI-safe: enum has no representation hint
--> $DIR/lint-ctypes-enum.rs:48:18
|
LL | fn unqique(x: Option<std::ptr::Unique<u8>>);
LL | fn unique(x: Option<std::ptr::Unique<u8>>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
Expand Down

0 comments on commit 5552945

Please sign in to comment.