about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Neumann <mail@timnn.me>2016-08-04 16:56:20 +0200
committerTim Neumann <mail@timnn.me>2016-08-04 23:15:52 +0200
commit98fe30b58bca5ce861eae69e85a28d98f0608505 (patch)
tree4094c9aae48a87e3de71318465e19198549962b2
parentc17501fea4f9b73134446fbc0700e5d1203909ac (diff)
downloadrust-98fe30b58bca5ce861eae69e85a28d98f0608505.tar.gz
rust-98fe30b58bca5ce861eae69e85a28d98f0608505.zip
fix existing tests
-rw-r--r--src/test/compile-fail/deprecation-lint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/deprecation-lint.rs b/src/test/compile-fail/deprecation-lint.rs
index 5fc8f684a66..edee24206cd 100644
--- a/src/test/compile-fail/deprecation-lint.rs
+++ b/src/test/compile-fail/deprecation-lint.rs
@@ -266,14 +266,14 @@ mod this_crate {
     #[deprecated(since = "1.0.0", note = "text")]
     fn test_fn_body() {
         fn fn_in_body() {}
-        fn_in_body(); //~ ERROR use of deprecated item: text
+        fn_in_body();
     }
 
     impl MethodTester {
         #[deprecated(since = "1.0.0", note = "text")]
         fn test_method_body(&self) {
             fn fn_in_body() {}
-            fn_in_body(); //~ ERROR use of deprecated item: text
+            fn_in_body();
         }
     }