We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--bless
1 parent 4aff84f commit 5552945Copy full SHA for 5552945
src/test/ui/lint/lint-ctypes-enum.stderr
@@ -45,7 +45,7 @@ LL | enum T { E, F, G }
45
error: `extern` block uses type `std::option::Option<std::ptr::Unique<u8>>` which is not FFI-safe: enum has no representation hint
46
--> $DIR/lint-ctypes-enum.rs:48:18
47
|
48
-LL | fn unqique(x: Option<std::ptr::Unique<u8>>);
+LL | fn unique(x: Option<std::ptr::Unique<u8>>);
49
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
51
= help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
0 commit comments