rust/src/libsyntax
bors 54ef80043a Auto merge of #37860 - giannicic:defaultimpl, r=nagisa
#37653 support `default impl` for specialization

this commit implements the first step of the `default impl` feature:

> all items in a `default impl` are (implicitly) `default` and hence
> specializable.

In order to test this feature I've copied all the tests provided for the
`default` method implementation (in run-pass/specialization and
compile-fail/specialization directories) and moved the `default` keyword
from the item to the impl.
See [referenced](https://github.com/rust-lang/rust/issues/37653) issue for further info

r? @aturon
2017-04-27 02:48:17 +00:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Don't panic if an attribute macro fails to resolve at crate root 2017-04-20 16:13:13 -07:00
parse Auto merge of #37860 - giannicic:defaultimpl, r=nagisa 2017-04-27 02:48:17 +00:00
print support default impl for specialization 2017-04-24 10:08:48 +00:00
util Introduce HashStable trait and base ICH implementations on it. 2017-04-06 16:01:51 +02:00
abi.rs Add support for x86-interrupt calling convention 2017-03-02 19:01:15 +01:00
ast.rs support default impl for specialization 2017-04-24 10:08:48 +00:00
attr.rs Added feature gate, updated error messages and tests. 2017-04-21 07:37:10 +10:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
codemap.rs Add a way to get shorter spans until char for pointing at defs 2017-04-12 01:10:48 -07:00
config.rs Liberalize attributes. 2017-03-14 04:39:21 +00:00
diagnostic_list.rs Added feature gate, updated error messages and tests. 2017-04-21 07:37:10 +10:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs support default impl for specialization 2017-04-26 14:43:09 +00:00
fold.rs support default impl for specialization 2017-04-24 10:08:48 +00:00
json.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
lib.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
ptr.rs Introduce HashStable trait and base ICH implementations on it. 2017-04-06 16:01:51 +02:00
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
test_snippet.rs Reduce visual clutter of multiline start when possible 2017-04-20 17:31:20 -07:00
tokenstream.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
visit.rs support default impl for specialization 2017-04-24 10:08:48 +00:00