about summary refs log tree commit diff
path: root/src/test/run-pass/auto-ref-slice-plus-ref.rs
AgeCommit message (Collapse)AuthorLines
2014-12-16Remove the double auto-ref on arrays/strings as receiversNick Cameron-39/+0
Part of #18469 [breaking-change] A receiver will only ever get a single auto-reference. Previously arrays and strings would get two, e.g., [T] would be auto-ref'ed to &&[T]. This is usually apparent when a trait is implemented for `&[T]` and has a method takes self by reference. The usual solution is to implement the trait for `[T]` (the DST form).
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+0
No longer does anything.
2014-05-22libcore: Remove all uses of `~str` from `libcore`.Patrick Walton-1/+0
[breaking-change]
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-2/+0
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-05-01remove leftover obsolete string literalsDaniel Micay-1/+1
2014-04-18Replace all ~"" with "".to_owned()Richo Healey-1/+1
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-1/+1
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-1/+1
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2014-02-02Update/delete tests using @[].Huon Wilson-1/+0
2014-02-02test: Remove `@str` from the test suitePatrick Walton-1/+0
2014-01-26Removed all instances of XXX in preparation for relaxing of FIXME ruleSalem Talha-1/+1
2013-12-12Gate literal box expressions in addition to typesAlex Crichton-0/+2
Closes #10920
2013-12-11Make 'self lifetime illegal.Erik Price-2/+2
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-08-27librustc: Remove `&const` and `*const` from the language.Patrick Walton-12/+0
They are still present as part of the borrow check.
2013-05-01avoid broken += operator, bogus use of constNiko Matsakis-1/+1
2013-05-01correct incorrect handling of overloaded operators, exposing various other ↵Niko Matsakis-4/+4
bits of rot
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-2/+2
2013-03-22test: Remove `pure` from the test suitePatrick Walton-6/+6
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-3/+0
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-07test: Fix tests.Patrick Walton-4/+4
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-2/+2
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-2/+2
rs=implflipping
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-12-07Add an auto-slice-and-ref step to method lookup. Allows ~[T] to work with ↵Brian Anderson-0/+48
explicit self