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

ices/87308.sh: fixed with no errors #986

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 5, 2021

Issue: rust-lang/rust#87308

#!/usr/bin/env bash

rustc - -Zunpretty=everybody_loops << 'EOF'
macro_rules! foo {
    () => { break 'x; } //~ ERROR use of undeclared label `'x`
}

pub fn main() {
    'x: loop { foo!() }
}
EOF
=== stdout ===
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
macro_rules! foo {
    () => { break 'x ; } //~ ERROR use of undeclared label `'x`
}

pub fn main() { loop { } }
=== stderr ===
==============

=== stdout ===
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
macro_rules! foo {
    () => { break 'x ; } //~ ERROR use of undeclared label `'x`
}

pub fn main() { loop { } }
=== stderr ===
==============
@Alexendoo Alexendoo merged commit bc45e19 into master Oct 5, 2021
@Alexendoo Alexendoo deleted the autofix/ices/87308.sh branch October 5, 2021 12:44
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