about summary refs log tree commit diff
path: root/src/test/compile-fail/auto-ref-slice-plus-ref.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-38/+0
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.
2015-05-13Fix ICE that occurs when an associated const is ambiguous.Sean Patrick Santos-4/+4
Also change several error messages to refer to "items" rather than "methods", since associated items that require resolution during type checking are not always methods.
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-12-16Remove the double auto-ref on arrays/strings as receiversNick Cameron-4/+13
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-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2014-02-02Update/delete tests using @[].Huon Wilson-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-1/+1
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-1/+1
2013-03-22test: Remove `pure` from the test suitePatrick Walton-2/+2
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-1/+1
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-1/+1
rs=implflipping
2013-01-30test: fix compile-fail tests somehow missed from local 'make check', ↵Graydon Hoare-1/+1
r=burningtree.
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/+18
explicit self