1 //@aux-build: proc_macros.rs:proc-macro
4 #![warn(clippy::let_underscore_untyped)]
6 extern crate proc_macros
;
7 use proc_macros
::with_span
;
9 use clippy_utils
::is_from_proc_macro
;
10 use std
::future
::Future
;
11 use std
::{boxed::Box, fmt::Display}
;
21 fn c() -> impl Display
{
25 fn d(x
: &u32) -> &u32 {
29 fn e() -> Result
<u32, ()> {
33 fn f() -> Box
<dyn Display
> {
44 fn dont_lint_proc_macro() {
69 let _
: Result
<_
, _
> = e();
72 #[allow(clippy::let_underscore_untyped)]