diff options
| author | Charles Lew <crlf0710@gmail.com> | 2019-11-23 22:37:46 +0800 |
|---|---|---|
| committer | Charles Lew <crlf0710@gmail.com> | 2019-12-26 13:13:01 +0800 |
| commit | 541d879f710c05aaa47ffd16373d83b949ff1edb (patch) | |
| tree | ccc589615184e4c9580478d7e360ec1a750c2825 /src | |
| parent | 0bcddfe23a4b96d970f953b99a2e4f28ece3c0d6 (diff) | |
| download | rust-541d879f710c05aaa47ffd16373d83b949ff1edb.tar.gz rust-541d879f710c05aaa47ffd16373d83b949ff1edb.zip | |
Add a test and bless existing test case.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/codemap_tests/unicode_2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/rfc-2457/idents-normalized.rs | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/test/ui/codemap_tests/unicode_2.stderr b/src/test/ui/codemap_tests/unicode_2.stderr index 92634d8e5f9..c01942712d4 100644 --- a/src/test/ui/codemap_tests/unicode_2.stderr +++ b/src/test/ui/codemap_tests/unicode_2.stderr @@ -14,7 +14,7 @@ LL | let _ = ("아あ", 1i42); | = help: valid widths are 8, 16, 32, 64 and 128 -error[E0425]: cannot find value `a̐é` in this scope +error[E0425]: cannot find value `a̐é` in this scope --> $DIR/unicode_2.rs:6:13 | LL | let _ = a̐é; diff --git a/src/test/ui/rfc-2457/idents-normalized.rs b/src/test/ui/rfc-2457/idents-normalized.rs new file mode 100644 index 00000000000..109cec7548e --- /dev/null +++ b/src/test/ui/rfc-2457/idents-normalized.rs @@ -0,0 +1,8 @@ +// check-pass +#![feature(non_ascii_idents)] + +struct Résumé; // ['LATIN SMALL LETTER E WITH ACUTE'] + +fn main() { + let _ = Résumé; // ['LATIN SMALL LETTER E', 'COMBINING ACUTE ACCENT'] +} |
