summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-15094.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/issues/issue-15094.rs (renamed from src/test/ui/issues/issue-15094.rs)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-15094.rs b/tests/ui/issues/issue-15094.rs
index 71b75a6e7..cb27e2bcf 100644
--- a/src/test/ui/issues/issue-15094.rs
+++ b/tests/ui/issues/issue-15094.rs
@@ -10,8 +10,8 @@ impl<T: fmt::Debug> ops::FnOnce<(),> for Debuger<T> {
type Output = ();
fn call_once(self, _args: ()) {
//~^ ERROR `call_once` has an incompatible type for trait
- //~| expected fn pointer `extern "rust-call" fn
- //~| found fn pointer `fn
+ //~| expected signature `extern "rust-call" fn
+ //~| found signature `fn
println!("{:?}", self.x);
}
}