Skip to content

Commit 98fe30b

Browse files
committed
fix existing tests
1 parent c17501f commit 98fe30b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/compile-fail/deprecation-lint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,14 @@ mod this_crate {
266266
#[deprecated(since = "1.0.0", note = "text")]
267267
fn test_fn_body() {
268268
fn fn_in_body() {}
269-
fn_in_body(); //~ ERROR use of deprecated item: text
269+
fn_in_body();
270270
}
271271

272272
impl MethodTester {
273273
#[deprecated(since = "1.0.0", note = "text")]
274274
fn test_method_body(&self) {
275275
fn fn_in_body() {}
276-
fn_in_body(); //~ ERROR use of deprecated item: text
276+
fn_in_body();
277277
}
278278
}
279279

0 commit comments

Comments
 (0)