xref: /aosp_15_r20/external/bazelbuild-rules_rust/test/clippy/README.md (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan# Clippy Tests
2*d4726bddSHONG Yifan
3*d4726bddSHONG YifanThis directory tests integration of the Clippy static analyzer aspect.
4*d4726bddSHONG Yifan
5*d4726bddSHONG YifanIt is split into a couple different directories:
6*d4726bddSHONG Yifan
7*d4726bddSHONG Yifan* [src](src) contains a simple binary, library and test which should compile
8*d4726bddSHONG Yifansuccessfully when built normally, and pass without error when analyzed
9*d4726bddSHONG Yifanwith clippy.
10*d4726bddSHONG Yifan* [bad\_src](bad_src) also contains a binary, library, and test which compile
11*d4726bddSHONG Yifannormally, but which intentionally contain "junk code" which will trigger
12*d4726bddSHONG YifanClippy lints.
13