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

ices/73327.sh: fixed with no errors #402

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#73327

#!/bin/bash

rustc -Z mir-opt-level=2 - << EOF

fn load<R>(_r: R) {}

#[inline(always)]
pub fn load_from_memory_with_format(buf: &[u8]) {
    let b = ::std::io::Cursor::new(buf);
    load(b)
}

fn main() {
    load_from_memory_with_format(&[72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]);
}
EOF
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit e86531d into master Jun 22, 2020
@JohnTitor JohnTitor deleted the autofix/ices/73327.sh branch June 22, 2020 11:58
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