From 555294595ecc3de0e5b1e073728b4236c92f67b2 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Thu, 29 Aug 2019 10:14:53 +0200 Subject: [PATCH] `--bless` lint-ctypes-enum.stderr --- src/test/ui/lint/lint-ctypes-enum.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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