2023-07-27 11:40:22 +00:00
|
|
|
|
2023-07-27 13:23:04 +00:00
|
|
|
//@aux-build:proc_macros.rs
|
2023-07-12 08:19:22 +00:00
|
|
|
#![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() {}
|
|
|
|
|
2023-07-13 00:39:19 +00:00
|
|
|
fn i() {
|
|
|
|
//// don't lint me bozo
|
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
|
2023-07-12 08:19:22 +00:00
|
|
|
external! {
|
|
|
|
//// don't lint me bozo
|
|
|
|
fn e() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
with_span! {
|
|
|
|
span
|
|
|
|
//// don't lint me bozo
|
|
|
|
fn f() {}
|
|
|
|
}
|