From a37e90a8c9945083f58e608ebe9414e5fdb53333 Mon Sep 17 00:00:00 2001 From: "Panashe M. Fundira" Date: Sun, 14 Aug 2016 19:48:55 -0400 Subject: [PATCH] Make E0033 tests fit in 100 cols --- src/test/compile-fail/E0033.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/compile-fail/E0033.rs b/src/test/compile-fail/E0033.rs index 8a1cd2ef4b71..d320bcd4d0f5 100644 --- a/src/test/compile-fail/E0033.rs +++ b/src/test/compile-fail/E0033.rs @@ -13,10 +13,11 @@ trait SomeTrait { } fn main() { - let trait_obj: &SomeTrait = SomeTrait; //~ ERROR E0425 - //~^ ERROR E0038 - //~| method `foo` has no receiver - //~| NOTE the trait `SomeTrait` cannot be made into an object + let trait_obj: &SomeTrait = SomeTrait; + //~^ ERROR E0425 + //~| ERROR E0038 + //~| method `foo` has no receiver + //~| NOTE the trait `SomeTrait` cannot be made into an object let &invalid = trait_obj; //~^ ERROR E0033