comphead commented on PR #13179:
URL: https://github.com/apache/datafusion/pull/13179#issuecomment-2447584973
Like that
```
#[warn(deprecated)]
#[deprecated(note = "Please use foo")]
fn m1() {
}
fn main() {
m1();
println!("Hello, world!");
}
warning: use of deprecated function `m1`: Please use foo
--> src/main.rs:9:5
|
9 | m1();
| ^^
|
= note: `#[warn(deprecated)]` on by default
```
This will make the code cleaner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]