diff --git a/src/test/compile-fail/issue-24968.rs b/src/test/compile-fail/issue-24968.rs index 1bef74012f06..f51b77b0ee53 100644 --- a/src/test/compile-fail/issue-24968.rs +++ b/src/test/compile-fail/issue-24968.rs @@ -9,7 +9,7 @@ // except according to those terms. fn foo(_: Self) { - //~^ ERROR use of `Self` outside of an impl or Trait + //~^ ERROR use of `Self` outside of an impl or trait } fn main() {}