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

ices/84632.rs: fixed with errors #847

Merged
merged 1 commit into from
Jun 22, 2021
Merged

ices/84632.rs: fixed with errors #847

merged 1 commit into from
Jun 22, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#84632

macro_rules! n {() => (concat!("", n!()))}

fn main () {
    n!();
}
=== stdout ===
=== stderr ===
error: recursion limit reached while expanding `n!`
 --> /home/runner/work/glacier/glacier/ices/84632.rs:1:36
  |
1 | macro_rules! n {() => (concat!("", n!()))}
  |                                    ^^^^
...
4 |     n!();
  |     ----- in this macro invocation
  |
  = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`84632`)
  = note: this error originates in the macro `n` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: recursion limit reached while expanding `n!`
 --> /home/runner/work/glacier/glacier/ices/84632.rs:1:36
  |
1 | macro_rules! n {() => (concat!("", n!()))}
  |                                    ^^^^
...
4 |     n!();
  |     ----- in this macro invocation
  |
  = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`84632`)
  = note: this error originates in the macro `n` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

==============
@JohnTitor JohnTitor merged commit a24c831 into master Jun 22, 2021
@JohnTitor JohnTitor deleted the autofix/ices/84632.rs branch June 22, 2021 21:41
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