about summary refs log tree commit diff
path: root/src/test/run-pass/utf8_chars.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-31/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-05Fix run-pass-fulldeps testsvarkor-3/+0
2018-08-05Remove unnecessary or invalid feature attributesvarkor-1/+1
2017-06-13Merge crate `collections` into `alloc`Murarth-1/+1
2016-10-31Changed most vec! invocations to use square bracesiirelu-1/+1
Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
2016-05-30std: Clean out old unstable + deprecated APIsAlex Crichton-2/+0
These should all have been deprecated for at least one cycle, so this commit cleans them all out.
2015-06-13Use `assert_eq!` instead of `assert!` in testspetrochenkov-6/+6
2015-04-21Model lexer: Fix remaining issuesPiotr Czarnecki-1/+0
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-0/+2
2015-03-06syntax: Remove deprecated unicode escapesAlex Crichton-1/+1
These have been deprecated for quite some time, so we should be good to remove them now.
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-15/+15
2015-02-18Update suffixes en masse in tests using `perl -p -i -e`Niko Matsakis-5/+5
2015-01-03Remove deprecated functionalityAlex Crichton-17/+17
This removes a large array of deprecated functionality, regardless of how recently it was deprecated. The purpose of this commit is to clean out the standard libraries and compiler for the upcoming alpha release. Some notable compiler changes were to enable warnings for all now-deprecated command line arguments (previously the deprecated versions were silently accepted) as well as removing deriving(Zero) entirely (the trait was removed). The distribution no longer contains the libtime or libregex_macros crates. Both of these have been deprecated for some time and are available externally.
2014-11-17Fix fallout from coercion removalNick Cameron-10/+10
2014-07-22auto merge of #15867 : cmr/rust/rewrite-lexer4, r=alexcrichtonbors-0/+2
2014-07-21Add a ton of ignore-lexer-testCorey Richardson-0/+2
2014-07-15Deprecate `str::from_chars`Adolfo Ochagavía-2/+2
Use `String::from_chars` instead [breaking-change]
2014-05-27std: Rename strbuf operations to stringRicho Healey-2/+2
[breaking-change]
2014-05-24core: rename strbuf::StrBuf to string::StringRicho Healey-1/+1
[breaking-change]
2014-05-14test: Remove all uses of `~str` from the test suite.Patrick Walton-6/+6
2014-04-10libstd: Implement `StrBuf`, a new string buffer type like `Vec`, andPatrick Walton-10/+0
port all code over to use it.
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-1/+0
(And fix some tests.)
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-4/+5
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-14extra: Put the nail in the coffin, delete libextraAlex Crichton-2/+0
This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576
2014-03-10libstd: Change `slice_shift_char`, `shift_char`, `pop_char`, `shift_byte` ↵Piotr Czarnecki-4/+4
and `pop_byte` to return an Option instead of failing
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2013-11-26Removed unneccessary `_iter` suffixes from various APIsMarvin Löbel-1/+1
2013-09-04stop treating char as an integer typeDaniel Micay-1/+1
Closes #7609
2013-08-17Fix warnings it testsErick Tryzelaar-11/+10
2013-07-11Optimize is_utf8Gary Linscott-0/+11
Manually unroll the multibyte loops, and optimize for the single byte chars.
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-12std: remove substr & str::count_*, methodise char_len, implement slice_chars.Huon Wilson-1/+1
The confusing mixture of byte index and character count meant that every use of .substr was incorrect; replaced by slice_chars which only uses character indices. The old behaviour of `.substr(start, n)` can be emulated via `.slice_from(start).slice_chars(0, n)`.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-1/+1
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-12std: convert str::{*shift,pop}* to methods.Huon Wilson-5/+5
2013-06-11std: remove str::to_charsHuon Wilson-2/+4
2013-06-10std: convert str::char_at* to methods.Huon Wilson-2/+2
2013-06-10std: convert str::reserve* to methods, and methodise str::push_*.Huon Wilson-1/+1
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-1/+1
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-22test: Update tests to use the new syntax.Patrick Walton-1/+1
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-12/+12
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-16/+16
2013-03-26Fixed all use sites and testsMarvin Löbel-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-16/+16
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-21libcore: De-mode strPatrick Walton-6/+6