From 9882b97fca1da3468e7757b386252f5e1da66182 Mon Sep 17 00:00:00 2001 From: J Henry Waugh Date: Sat, 5 Sep 2020 12:30:12 -0500 Subject: [PATCH] Fix trybuild tests for latest nightly --- codegen/ui_tests/non_clonable.stderr | 4 ++-- codegen/ui_tests/non_clonable_second.stderr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen/ui_tests/non_clonable.stderr b/codegen/ui_tests/non_clonable.stderr index dbae1d47..10a06303 100644 --- a/codegen/ui_tests/non_clonable.stderr +++ b/codegen/ui_tests/non_clonable.stderr @@ -1,5 +1,5 @@ -error[E0277]: the trait bound `NonClonable: std::clone::Clone` is not satisfied +error[E0277]: the trait bound `NonClonable: Clone` is not satisfied --> $DIR/non_clonable.rs:11:23 | 11 | pub fn test_fn(input: NonClonable) -> bool { - | ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NonClonable` + | ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` diff --git a/codegen/ui_tests/non_clonable_second.stderr b/codegen/ui_tests/non_clonable_second.stderr index 26202d83..07034875 100644 --- a/codegen/ui_tests/non_clonable_second.stderr +++ b/codegen/ui_tests/non_clonable_second.stderr @@ -1,5 +1,5 @@ -error[E0277]: the trait bound `NonClonable: std::clone::Clone` is not satisfied +error[E0277]: the trait bound `NonClonable: Clone` is not satisfied --> $DIR/non_clonable_second.rs:11:27 | 11 | pub fn test_fn(a: u32, b: NonClonable) -> bool { - | ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NonClonable` + | ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`