summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/impl-method-mismatch.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/traits/impl-method-mismatch.rs (renamed from src/test/ui/traits/impl-method-mismatch.rs)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/traits/impl-method-mismatch.rs b/tests/ui/traits/impl-method-mismatch.rs
index 683b1c1aa..62580755c 100644
--- a/src/test/ui/traits/impl-method-mismatch.rs
+++ b/tests/ui/traits/impl-method-mismatch.rs
@@ -6,8 +6,8 @@ impl Mumbo for usize {
// Cannot have a larger effect than the trait:
unsafe fn jumbo(&self, x: &usize) { *self + *x; }
//~^ ERROR method `jumbo` has an incompatible type for trait
- //~| expected fn pointer `fn
- //~| found fn pointer `unsafe fn
+ //~| expected signature `fn
+ //~| found signature `unsafe fn
}
fn main() {}