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

ices/67558.sh: fixed with no errors #384

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#67558

#!/bin/bash

rustc --emit=mir - << END

// run-pass

struct S;

impl S {
    const N: usize = 3;
}

static STUFF: [u8; S::N] = [0; S::N];

fn main() {
    assert_eq!(STUFF, [0; 3]);
}

END
=== stdout ===
=== stderr ===
/home/runner/work/glacier/glacier/ices/67558.sh: line 2: $'\r': command not found
==============

=== stdout ===
=== stderr ===
/home/runner/work/glacier/glacier/ices/67558.sh: line 2: $'\r': command not found
==============
@JohnTitor JohnTitor self-assigned this May 27, 2020
Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this file contains unexpected character. I'd remove this before moving to fixed dir.

@JohnTitor JohnTitor deleted the autofix/ices/67558.sh branch May 27, 2020 16:55
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