about summary refs log tree commit diff
path: root/src/libsyntax/diagnostic_list.rs
AgeCommit message (Collapse)AuthorLines
2019-03-14Add `-Z allow_features=...` flagTyler Mandry-0/+15
2019-01-13Implement basic input validation for built-in attributesVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-19Add a stub feature so we can still test E0705Scott McMurray-4/+4
2018-10-03Update error id to an unused oneOliver Schneider-1/+1
2018-10-03Only promote calls to `#[rustc_promotable]` const fnsOliver Schneider-0/+1
2018-08-23Stabilize 'attr_literals' feature.Sergio Benitez-5/+4
2018-08-20Removed `raw_identifiers` feature gate.Alexander Regueiro-2/+3
2018-08-05Fix diagnostic_list errorvarkor-1/+1
2018-08-05Fix 2018 edition testsvarkor-1/+1
2018-08-05Add an error when declaring features that are stable in the current Rust editionvarkor-0/+14
2018-08-05Convert unknown_features lint into an errorvarkor-12/+0
2018-08-05Add lint for unknown feature attributesvarkor-0/+12
2018-06-19Update error code numbersEsteban Küber-2/+2
2018-06-19Add code to incorrect `pub` restriction errorEsteban Küber-0/+1
2018-06-19Add code to `invalid ABI` errorEsteban Küber-0/+1
2018-06-11Slightly better summary for E0538Havvy-1/+1
2018-06-11Long diagnostic for E0538Havvy-1/+30
2018-06-11More E0541 long diagnostic wording tweaksHavvy-3/+3
2018-06-11Make tidy happyHavvy-7/+8
2018-06-11Fix typos in previous commitHavvy-1/+3
2018-06-11Long diagnostic for E0541Havvy-1/+29
2018-05-03Auto merge of #50030 - flip1995:rfc2103, r=petrochenkovbors-0/+1
Implement tool_attributes feature (RFC 2103) cc #44690 This is currently just a rebased and compiling (hopefully) version of #47773. Let's see if travis likes this. I will add the implementation for `tool_lints` this week.
2018-05-02Gate tool_attributes featureSeiichi Uchida-0/+1
2018-05-01Add E0589 to the error indexvarkor-1/+12
2018-04-29Add error when using repr(align=x) instead of repr(align(x))varkor-0/+1
2018-03-26Fix missed i128 feature gatesMark Mansi-2/+2
2018-03-26Stabilize i128 feature tooMark Mansi-4/+8
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-4/+0
Stabilize the syntax `a..=b` and `..=b`.
2018-03-06Add `inline` to `TransFnAttrs`Wesley Wiser-69/+0
Part of #47320
2018-02-20make `#[unwind]` attribute specify expectations more clearlyNiko Matsakis-0/+27
You can now choose between the following: - `#[unwind(allowed)]` - `#[unwind(aborts)]` Per rust-lang/rust#48251, the default is `#[unwind(allowed)]`, though I think we should change this eventually.
2018-01-15Add error code for unstable feature errorsGuillaume Gomez-0/+25
2017-09-22Add support for `..=` syntaxAlex Burka-2/+2
Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book
2017-09-17rustc: Move some attr methods to queriesAlex Crichton-23/+0
Otherwise we may emit double errors related to the `#[export_name]` attribute, for example, and using a query should ensure that it's only emitted at most once.
2017-09-13honor #[rustc_const_unstable] attributesAlex Burka-0/+3
2017-08-09extended information for E0557 feature has been removedZack M. Davis-1/+12
2017-08-09extended information for E0552 unrecognized representation hintZack M. Davis-1/+30
2017-08-09extended information for E0554 feature attributes only work on nightliesZack M. Davis-1/+15
It's more pleasing to use the inner-attribute syntax (`#!` rather than `#`) in the error message, as that is how `feature` attributes in particular will be declared (as they apply to the entire crate).
2017-08-06fixing doctest failures in resurfaced extended informationZack M. Davis-10/+22
After repatriating error explanations to the global registry, some lurking doctest failures surfaced and needed to be chased down. Sadly, a few doctests needed to be ignored due to a not-yet-understood regression in the doctest `compile_fail` functionality (filed #43707).
2017-06-23Removed as many "```ignore" as possible.kennytm-2/+4
Replaced by adding extra imports, adding hidden code (`# ...`), modifying examples to be runnable (sorry Homura), specifying non-Rust code, and converting to should_panic, no_run, or compile_fail. Remaining "```ignore"s received an explanation why they are being ignored.
2017-04-21Added feature gate, updated error messages and tests.Cameron Hart-1/+1
2017-04-21Implementation of repr struct alignment RFC 1358.Cameron Hart-1/+1
The main changes around rustc::ty::Layout::struct and rustc_trans:adt: * Added primitive_align field which stores alignment before repr align * Always emit field padding when generating the LLVM struct fields * Added methods for adjusting field indexes from the layout index to the LLVM struct field index The main user of this information is rustc_trans::adt::struct_llfields which determines the LLVM fields to be used by LLVM, including padding fields.
2017-02-21Add long error explanationsGuillaume Gomez-3/+68
2017-02-20Add error codes for errors in libsyntaxGuillaume Gomez-0/+4
2017-01-17AST/HIR: Merge ObjectSum and PolyTraitRefVadim Petrochenkov-0/+22
2016-08-25Implement RFC#1559: allow all literals in attributes.Sergio Benitez-0/+18
2016-07-11Move E0533 to E0558 (because of external change)Guillaume Gomez-23/+23
2016-07-11Fix typosggomez-26/+28
2016-07-11Add E0537 error explanationGuillaume Gomez-1/+31
2016-07-11Add E0536 error explanationGuillaume Gomez-3/+27