1 /// This is a test for needless `fn main()` in doctests.
15 /// This shouldn't lint, because the `main` is empty:
20 /// This shouldn't lint either, because there's a `static`:
22 /// static ANSWER: i32 = 42;
25 /// assert_eq!(42, ANSWER);
28 fn no_false_positives() {}