X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Ferror-codes%2FE0199.stderr;h=99d808c0d4b1e115947acdbf76c2e9f55f23b19c;hb=270e0c53574b938af0492b4321984d9a09ef5b47;hp=3632d26cd32e5f22ca25511c33ecdba8cfca4414;hpb=367f2ad8b6844192b3b9b2becfec89a159eecd57;p=rust.git diff --git a/src/test/ui/error-codes/E0199.stderr b/src/test/ui/error-codes/E0199.stderr index 3632d26cd32..99d808c0d4b 100644 --- a/src/test/ui/error-codes/E0199.stderr +++ b/src/test/ui/error-codes/E0199.stderr @@ -3,6 +3,12 @@ error[E0199]: implementing the trait `Bar` is not unsafe | LL | unsafe impl Bar for Foo { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | +help: remove `unsafe` from this trait implementation + | +LL - unsafe impl Bar for Foo { } +LL + impl Bar for Foo { } + | error: aborting due to previous error