From eb4b03862554611ca431fa6195cda47cf4c3eb96 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 13 Oct 2024 22:47:59 -0700 Subject: [PATCH] Update ui test suite to nightly-2024-10-14 --- tests/ui/bare-trait-object.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/bare-trait-object.stderr b/tests/ui/bare-trait-object.stderr index 7ff6af1..eb4d3b4 100644 --- a/tests/ui/bare-trait-object.stderr +++ b/tests/ui/bare-trait-object.stderr @@ -1,10 +1,10 @@ -error[E0782]: trait objects must include the `dyn` keyword +error[E0782]: expected a type, found a trait --> tests/ui/bare-trait-object.rs:11:16 | 11 | impl Trait for Send + Sync { | ^^^^^^^^^^^ | -help: add `dyn` keyword before this trait +help: you can add the `dyn` keyword if you want a trait object | 11 | impl Trait for dyn Send + Sync { | +++