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

ices/66930-2.sh: fixed with no errors #383

Merged
merged 1 commit into from
May 27, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#66930

#!/bin/bash

rustc --emit mir --crate-type lib - << END
static UTF8_CHAR_WIDTH: [u8; 0] = [];

pub fn utf8_char_width(b: u8) -> usize {
    UTF8_CHAR_WIDTH[b as usize] as usize
}
END
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
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.

Left a comment on the issue.

@JohnTitor JohnTitor merged commit ab32048 into master May 27, 2020
@JohnTitor JohnTitor deleted the autofix/ices/66930-2.sh branch May 27, 2020 12:21
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