diff --git a/src/test/ui/lint/lint-ctypes-enum.stderr b/src/test/ui/lint/lint-ctypes-enum.stderr index 4aa29a9131614..cad3e5f45a8fc 100644 --- a/src/test/ui/lint/lint-ctypes-enum.stderr +++ b/src/test/ui/lint/lint-ctypes-enum.stderr @@ -45,7 +45,7 @@ LL | enum T { E, F, G } error: `extern` block uses type `std::option::Option>` which is not FFI-safe: enum has no representation hint --> $DIR/lint-ctypes-enum.rs:48:18 | -LL | fn unqique(x: Option>); +LL | fn unique(x: Option>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum