rust/src/libsyntax
bors faf477a8c2 Auto merge of #44111 - zackmdavis:feature_attr_error_span, r=nikomatsakis
feature error span on attribute for fn_must_use, SIMD/align reprs, macro reëxport

There were several feature-gated attributes for which the feature-not-available
error spans would point to the item annotated with the gated attribute, when it
would make more sense for the span to point to the attribute itself: if the
attribute is removed, the function/struct/_&c._ likely still makes sense and the
program will compile. (Note that we decline to make the analogous change for
the `main`, `start`, and `plugin_registrar` features, for in those cases it
makes sense for the span to implicate the entire function, of which there is
little hope of using without the gated attribute.)

![feature_attr_error_span](https://user-images.githubusercontent.com/1076988/29746531-fd700bfe-8a91-11e7-9c5b-6f5324083887.png)
2017-08-29 10:22:14 +00:00
..
diagnostics use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
ext Auto merge of #43540 - petrochenkov:pathrelax, r=nikomatsakis 2017-08-21 23:03:57 +00:00
parse Merge remote-tracking branch 'origin/master' into gen 2017-08-25 07:15:12 -07:00
print Merge remote-tracking branch 'origin/master' into gen 2017-08-16 10:03:47 -07:00
util Update and fix a few tests 2017-06-26 02:08:14 +00:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Merge remote-tracking branch 'origin/master' into gen 2017-08-25 07:15:12 -07:00
attr.rs feature error span on attr. for fn_must_use, SIMD/align, macro reëxport 2017-08-28 00:58:41 -07:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml fix the easy features in libsyntax 2017-05-07 01:20:15 -07:00
codemap.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
config.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
diagnostic_list.rs extended information for E0557 feature has been removed 2017-08-09 01:33:50 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Auto merge of #44111 - zackmdavis:feature_attr_error_span, r=nikomatsakis 2017-08-29 10:22:14 +00:00
fold.rs Merge remote-tracking branch 'origin/master' into gen 2017-08-16 10:03:47 -07:00
json.rs Rollup merge of #43891 - Fourchaux:master, r=steveklabnik 2017-08-17 10:44:07 -04:00
lib.rs *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
ptr.rs Replace some matches with try. 2017-06-07 12:15:39 +09:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs syntax: clarify field name 2017-08-25 16:13:02 -04:00
test_snippet.rs Position span label correctly when it isn't last 2017-06-15 11:21:19 -07:00
tokenstream.rs Review comments 2017-07-21 16:49:09 -07:00
visit.rs Remove support for gen arg 2017-07-28 15:46:26 +02:00