about summary refs log tree commit diff
path: root/src/test/compile-fail/no-method-suggested-traits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/no-method-suggested-traits.rs')
-rw-r--r--src/test/compile-fail/no-method-suggested-traits.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/no-method-suggested-traits.rs b/src/test/compile-fail/no-method-suggested-traits.rs
index 2c14dfad3b8..21f8a982806 100644
--- a/src/test/compile-fail/no-method-suggested-traits.rs
+++ b/src/test/compile-fail/no-method-suggested-traits.rs
@@ -123,8 +123,8 @@ fn main() {
     //~^^^ HELP `no_method_suggested_traits::foo::PubPub`
 
     // should have no help:
-    1us.method3(); //~ ERROR does not implement
-    std::rc::Rc::new(&mut Box::new(&1us)).method3(); //~ ERROR does not implement
+    1_usize.method3(); //~ ERROR does not implement
+    std::rc::Rc::new(&mut Box::new(&1_usize)).method3(); //~ ERROR does not implement
     no_method_suggested_traits::Foo.method3();  //~ ERROR does not implement
     std::rc::Rc::new(&mut Box::new(&no_method_suggested_traits::Foo)).method3();
     //~^ ERROR does not implement