Skip to content

Commit 5552945

Browse files
authored
--bless lint-ctypes-enum.stderr
1 parent 4aff84f commit 5552945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/lint/lint-ctypes-enum.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ LL | enum T { E, F, G }
4545
error: `extern` block uses type `std::option::Option<std::ptr::Unique<u8>>` which is not FFI-safe: enum has no representation hint
4646
--> $DIR/lint-ctypes-enum.rs:48:18
4747
|
48-
LL | fn unqique(x: Option<std::ptr::Unique<u8>>);
48+
LL | fn unique(x: Option<std::ptr::Unique<u8>>);
4949
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5050
|
5151
= help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum

0 commit comments

Comments
 (0)