blob: 458b8de53e15bc80af1ae3f8d91053581a5a23cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
//@aux-build:proc_macros.rs
#![feature(custom_inner_attributes)]
#![allow(unused)]
#![warn(clippy::four_forward_slashes)]
#![no_main]
#![rustfmt::skip]
#[macro_use]
extern crate proc_macros;
//// whoops
fn a() {}
//// whoops
#[allow(dead_code)]
fn b() {}
//// whoops
//// two borked comments!
#[track_caller]
fn c() {}
fn d() {}
#[test]
//// between attributes
#[allow(dead_code)]
fn g() {}
//// not very start of contents
fn h() {}
fn i() {
//// don't lint me bozo
todo!()
}
external! {
//// don't lint me bozo
fn e() {}
}
with_span! {
span
//// don't lint me bozo
fn f() {}
}
|