diff options
| author | LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> | 2025-08-11 22:33:12 +0200 |
|---|---|---|
| committer | LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> | 2025-08-14 15:28:35 +0200 |
| commit | ff560d3c9a662786ab1126b32320cc7cb0169678 (patch) | |
| tree | bf60932f557723c857211619594d2f29a96fc50b /tests/ui/resolve | |
| parent | 1c9952f4dd6e0947ee91f07130c03813a088a894 (diff) | |
| download | rust-ff560d3c9a662786ab1126b32320cc7cb0169678.tar.gz rust-ff560d3c9a662786ab1126b32320cc7cb0169678.zip | |
resolve prelude import at `build_reduced_graph` phase
Diffstat (limited to 'tests/ui/resolve')
| -rw-r--r-- | tests/ui/resolve/inner-attr-prelude-macro.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/resolve/inner-attr-prelude-macro.rs b/tests/ui/resolve/inner-attr-prelude-macro.rs new file mode 100644 index 00000000000..1047c908ad1 --- /dev/null +++ b/tests/ui/resolve/inner-attr-prelude-macro.rs @@ -0,0 +1,11 @@ +//@ check-pass +//! This test checks that macro names resolved from the libstd prelude +//! still work even if there's a crate-level custom inner attribute. + +#![feature(custom_inner_attributes)] + +#![rustfmt::skip] + +fn main() { + let _ = todo!(); +} |
