We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c17501f commit 98fe30bCopy full SHA for 98fe30b
src/test/compile-fail/deprecation-lint.rs
@@ -266,14 +266,14 @@ mod this_crate {
266
#[deprecated(since = "1.0.0", note = "text")]
267
fn test_fn_body() {
268
fn fn_in_body() {}
269
- fn_in_body(); //~ ERROR use of deprecated item: text
+ fn_in_body();
270
}
271
272
impl MethodTester {
273
274
fn test_method_body(&self) {
275
276
277
278
279
0 commit comments