]> git.lizzy.rs Git - rust.git/blob - src/docs/print_stderr.txt
Auto merge of #9475 - Nemo157:mod-files-remap, r=xFrednet
[rust.git] / src / docs / print_stderr.txt
1 ### What it does
2 Checks for printing on *stderr*. The purpose of this lint
3 is to catch debugging remnants.
4
5 ### Why is this bad?
6 People often print on *stderr* while debugging an
7 application and might forget to remove those prints afterward.
8
9 ### Known problems
10 Only catches `eprint!` and `eprintln!` calls.
11
12 ### Example
13 ```
14 eprintln!("Hello world!");
15 ```