summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/print_stderr.txt
blob: 9c6edeeef125df630b79474b4ac115f5b980c705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
### What it does
Checks for printing on *stderr*. The purpose of this lint
is to catch debugging remnants.

### Why is this bad?
People often print on *stderr* while debugging an
application and might forget to remove those prints afterward.

### Known problems
Only catches `eprint!` and `eprintln!` calls.

### Example
```
eprintln!("Hello world!");
```