Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/95151.rs: fixed with no errors #1241

Merged
merged 1 commit into from
May 10, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#95151

#[track_caller]
macro_rules! _foo {
    () => {};
}

fn main() {
}
=== stdout ===
=== stderr ===
warning: `#[track_caller]` is ignored on struct fields, match arms and macro defs
 --> /home/runner/work/glacier/glacier/ices/95151.rs:1:1
  |
1 | #[track_caller]
  | ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_attributes)]` on by default
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: see issue #80564 <https://github.com/rust-lang/rust/issues/80564> for more information

warning: 1 warning emitted

==============

=== stdout ===
=== stderr ===
warning: `#[track_caller]` is ignored on struct fields, match arms and macro defs
 --> /home/runner/work/glacier/glacier/ices/95151.rs:1:1
  |
1 | #[track_caller]
  | ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_attributes)]` on by default
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: see issue #80564 <rust-lang/rust#80564> for more information

warning: 1 warning emitted

==============
@Alexendoo Alexendoo merged commit 1d6c9e7 into master May 10, 2022
@Alexendoo Alexendoo deleted the autofix/ices/95151.rs branch May 10, 2022 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants