]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/src/docs/unreachable.txt
Auto merge of #100581 - joboet:sync_rwlock_everywhere, r=thomcc
[rust.git] / src / tools / clippy / src / docs / unreachable.txt
1 ### What it does
2 Checks for usage of `unreachable!`.
3
4 ### Why is this bad?
5 This macro can cause code to panic
6
7 ### Example
8 ```
9 unreachable!();
10 ```