2025-07-12 17:34:43 +02:00
|
|
|
#[attr = MacroUse {arguments: UseAll}]
|
2024-04-24 11:28:45 +08:00
|
|
|
extern crate std;
|
2025-07-28 17:24:28 +03:00
|
|
|
#[prelude_import]
|
|
|
|
|
use ::std::prelude::rust_2015::*;
|
2024-04-24 11:28:45 +08:00
|
|
|
//@ compile-flags: -Zunpretty=hir
|
2025-04-16 10:45:03 +02:00
|
|
|
//@ edition: 2015
|
2024-04-24 11:28:45 +08:00
|
|
|
|
|
|
|
|
// issue#97006
|
|
|
|
|
|
|
|
|
|
macro_rules! m { ($attr_path: path) => { #[$attr_path] fn f() {} } }
|
2025-03-08 18:58:05 +01:00
|
|
|
#[attr = Inline(Hint)]
|
2024-04-24 11:28:45 +08:00
|
|
|
fn f() { }
|
|
|
|
|
|
|
|
|
|
fn main() { }
|