-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Closed
Copy link
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
git clone https://github.com/rust-itertools/itertools
cd itertools
git checkout v0.9.0
cargo build
error: `#[inline]` attribute cannot be used on macro calls
--> src/rciter_impl.rs:54:5
|
54 | #[inline]
| ^^^^^^^^^
|
= help: `#[inline]` can only be applied to functions
rustc 1.91.0-nightly (46c219bd2 2025-08-22)
binary: rustc
commit-hash: 46c219bd24862c0a87f0299570bb37f2d5ecf6ce
commit-date: 2025-08-22
host: x86_64-unknown-linux-gnu
release: 1.91.0-nightly
LLVM version: 21.1.0
on beta rustc 1.90.0-beta.6 (085bdc2ae 2025-08-21)
warning: unused attribute `inline`
--> src/rciter_impl.rs:54:5
|
54 | #[inline]
| ^^^^^^^^^
|
note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `clone_fields`
--> src/rciter_impl.rs:55:5
|
55 | clone_fields!(rciter);
| ^^^^^^^^^^^^
= note: `#[warn(unused_attributes)]` on by default
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.