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

ices/82327.sh: fixed with errors #1158

Merged
merged 1 commit into from
Mar 5, 2022
Merged

ices/82327.sh: fixed with errors #1158

merged 1 commit into from
Mar 5, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 5, 2022

Issue: rust-lang/rust#82327

#!/bin/bash

rustc -Zunpretty=everybody_loops - <<'EOF'
mod foo {
    pub fn bar() {}
}

fn main() {
    let _ = || -> Result<(), ()> { try!(Ok(())); Ok(()) }; // issue #37345

    macro_rules! m { () => {
        $crate::foo::bar(); // issue #37357
        ::foo::bar(); // issue #38682
    } }
    m!();
}
EOF
=== stdout ===
=== stderr ===
error: argument to `unpretty` must be one of `normal`, `expanded`, `identified`, `expanded,identified`, `expanded,hygiene`, `everybody_loops`, `ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, `hir,typed`, `hir-tree`, `mir` or `mir-cfg`; got everybody_loops

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

=== stdout ===
=== stderr ===
error: argument to `unpretty` must be one of `normal`, `expanded`, `identified`, `expanded,identified`, `expanded,hygiene`, `everybody_loops`, `ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, `hir,typed`, `hir-tree`, `mir` or `mir-cfg`; got everybody_loops

==============
@Alexendoo Alexendoo merged commit e8de34e into master Mar 5, 2022
@Alexendoo Alexendoo deleted the autofix/ices/82327.sh branch March 5, 2022 13:08
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