rust/src/libsyntax
Steve Klabnik 033b886f8c Rollup merge of #27313 - nagisa:illegal-to-invalid, r=pnkfelix
Improves diagnostics in various locations, namely:

* A few error messages that orignally were a mix of an error message and suggestion how to fix it have been split up into two messages: an error and help/hint.
* Never report “illegal”. Fixes https://github.com/rust-lang/rust/issues/27288
2015-07-29 10:30:33 -04:00
..
diagnostics remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
ext remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
parse Replace illegal with invalid in most diagnostics 2015-07-29 01:59:31 +03:00
print remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
util syntax: replace sess.span_diagnostic.cm with sess.codemap(). 2015-05-14 01:47:56 +03:00
abi.rs Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
ast.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
ast_util.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
attr.rs Auto merge of #26747 - huonw:stability-issue, r=alexcrichton 2015-07-07 17:41:43 +00:00
codemap.rs Instrumentation in effort to understand treatment of allow_internal_unstable. 2015-07-22 15:34:00 +02:00
config.rs syntax: Remove uses of #[feature(slice_patterns)] 2015-04-21 10:08:26 -07:00
diagnostic.rs Auto merge of #26846 - P1start:print-maybe-styled-macro, r=pnkfelix 2015-07-29 00:28:55 +00:00
feature_gate.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
fold.rs Remove ast::LocalSource with only one used variant 2015-07-26 08:56:29 +02:00
lib.rs Hack for "unsafety hygiene" -- push_unsafe! and pop_unsafe!. 2015-07-22 15:33:59 +02:00
owned_slice.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
ptr.rs syntax: remove #![feature(box_syntax, box_patterns)] 2015-04-21 10:07:48 -07:00
show_span.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
std_inject.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Removed many pointless calls to *iter() and iter_mut() 2015-06-10 21:14:03 +01:00
visit.rs Fix issue #23302, ICE on recursively defined enum variant discriminant. 2015-06-22 20:55:57 -06:00