about summary refs log tree commit diff
path: root/src/test/run-pass/unsized3.rs
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2015-06-17Fallout in tests and docs from feature renamingsAlex Crichton-2/+2
2015-06-13Use `assert_eq!` instead of `assert!` in testspetrochenkov-10/+10
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-1/+1
2015-03-13fix testsOliver Schneider-9/+10
2015-03-13slice::from_raw_parts is preferred over transmuting a fresh raw::SliceOliver Schneider-2/+2
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-3/+1
2015-03-03Add `: Box<_>` or `::Box<_>` type annotations to various places.Felix S. Klock II-3/+4
This is the kind of change that one is expected to need to make to accommodate overloaded-`box`. ---- Note that this is not *all* of the changes necessary to accommodate Issue 22181. It is merely the subset of those cases where there was already a let-binding in place that made it easy to add the necesasry type ascription. (For unnamed intermediate `Box` values, one must go down a different route; `Box::new` is the option that maximizes portability, but has potential inefficiency depending on whether the call is inlined.) ---- There is one place worth note, `run-pass/coerce-match.rs`, where I used an ugly form of `Box<_>` type ascription where I would have preferred to use `Box::new` to accommodate overloaded-`box`. I deliberately did not use `Box::new` here, because that is already done in coerce-match-calls.rs. ---- Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
2015-01-08fallout: run-pass tests that use box. (many could be ported to `Box::new` ↵Felix S. Klock II-0/+3
instead in the future.)
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-2/+2
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-09-12Handle always-unsized structsNick Cameron-0/+101
closes #16977