From 3256adeec3606d08e785b9061ab02be48650cec2 Mon Sep 17 00:00:00 2001 From: gvozdvmozgu Date: Sat, 11 Jan 2025 21:34:58 -0800 Subject: [PATCH] bless ui tests --- tests/compile-fail/get-set-on-private-input-field.stderr | 8 -------- tests/compile-fail/tracked_impl_incompatibles.stderr | 7 ++++--- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/tests/compile-fail/get-set-on-private-input-field.stderr b/tests/compile-fail/get-set-on-private-input-field.stderr index 887ab00d..b8dcca66 100644 --- a/tests/compile-fail/get-set-on-private-input-field.stderr +++ b/tests/compile-fail/get-set-on-private-input-field.stderr @@ -15,11 +15,3 @@ error[E0624]: method `set_field` is private ... 15 | input.set_field(&mut db).to(23); | ^^^^^^^^^ private method - -warning: unused import: `salsa::prelude` - --> tests/compile-fail/get-set-on-private-input-field.rs:1:5 - | -1 | use salsa::prelude::*; - | ^^^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default diff --git a/tests/compile-fail/tracked_impl_incompatibles.stderr b/tests/compile-fail/tracked_impl_incompatibles.stderr index 01eb5ee2..59d9d64d 100644 --- a/tests/compile-fail/tracked_impl_incompatibles.stderr +++ b/tests/compile-fail/tracked_impl_incompatibles.stderr @@ -114,10 +114,11 @@ error[E0117]: only traits defined in the current crate can be implemented for ar | 47 | impl<'db> std::default::Default for [MyTracked<'db>; 12] { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- - | | | - | | this is not defined in the current crate because arrays are always foreign - | impl doesn't use only types from inside the current crate + | | + | this is not defined in the current crate because arrays are always foreign | + = note: impl doesn't have any local type before any uncovered type parameters + = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules = note: define and implement a trait or new type instead error[E0308]: mismatched types