about summary refs log tree commit diff
path: root/src/test/ui/array-slice-vec
AgeCommit message (Collapse)AuthorLines
2020-09-21Move vec-cycle-wrapped testAlexis Bourget-50/+0
2020-09-21Move vec-cycle testAlexis Bourget-39/+0
2020-09-21Move vec-slice-drop testAlexis Bourget-31/+0
2020-09-21Move array cycle testAlexis Bourget-31/+0
2020-09-07Rollup merge of #76324 - ayushmishra2005:move_vec_tests_in_library, r=matkladDylan DPC-62/+0
Move Vec slice UI tests in library Moved some of Vec slice UI tests in Library as a part of #76268 r? @matklad
2020-09-07Rollup merge of #76273 - CraftSpider:master, r=matkladDylan DPC-69/+0
Move some Vec UI tests into alloc unit tests A bit of work towards #76268, makes a number of the Vec UI tests that are simply running code into unit tests. Ensured that they are being run when testing liballoc locally.
2020-09-04Move Vec slice UI tests in libraryAyush Kumar Mishra-62/+0
2020-09-03Remove vec-to_str.rs, merge the remaining test in with vecRune Tynan-7/+0
2020-09-03Remove a number of vec UI tests, make them unit tests in the alloc libraryRune Tynan-62/+0
2020-09-02pretty: trim paths of unique symbolsDan Aloni-3/+3
If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not.
2020-06-28Update testsDylan MacKenzie-1/+2
2020-06-26Show the values and computation that would overflow a const evaluation or ↵Oliver Scherer-1/+1
propagation
2020-05-16Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkovRalf Jung-2/+3
Incomplete features can also be unsound Some incomplete features do not just ICE, they are also currently unsound (e.g. https://github.com/rust-lang/rust/pull/72029, and also `specialization` -- which is not yet marked incomplete but [should be](https://github.com/rust-lang/rust/pull/71420)). This makes the message reflect that. While at it I also added a link to the tracking issue, which hopefully should explain what is incomplete/unsound about the feature.
2020-05-11Rollup merge of #72052 - lcnr:const_pprint, r=ecstatic-morseDylan DPC-1/+1
display `ConstKind::Param`
2020-05-09display `ConstKind::Param`Bastian Kauschke-1/+1
2020-05-09adjust testsRalf Jung-2/+3
2020-05-08Skip tests on emscriptenYuki Okushi-0/+3
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+21
2020-04-11rustc: Add a warning count upon completionRoccoDev-1/+1
2020-04-01Rollup merge of #70081 - lcnr:issue68387, r=varkorDylan DPC-1/+1
add `unused_braces` lint Add the lint `unused_braces` which is warn by default. `unused_parens` is also extended and now checks anon consts. closes #68387 r? @varkor
2020-03-31update testsBastian Kauschke-1/+1
2020-03-30update tests, improve variable namesBastian Kauschke-0/+31
2020-03-30add test for array len inferenceBastian Kauschke-0/+32
2020-02-13fix extra subslice loweringMazdak Farrokhzad-0/+44
2020-01-18slice_patterns: organize some testsMazdak Farrokhzad-0/+107
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-15/+2
2019-12-21Add more tests for slice patternsMatthew Jasper-0/+194
2019-07-30Subslice patterns: Test passing static & dynamic semantics.Mazdak Farrokhzad-0/+128
2019-07-28Use new 'p @ ..' syntax in tests.Mazdak Farrokhzad-26/+11
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+1496