about summary refs log tree commit diff
path: root/src/librustc/middle/stability.rs
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-413/+0
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-1/+1
2020-03-12Rollup merge of #69674 - mark-i-m:assoc-fn, r=matthewjasperMazdak Farrokhzad-1/+1
Rename DefKind::Method and TraitItemKind::Method r? @eddyb, @Centril, or @matthewjasper cc #69498 #60163
2020-03-10Store `TokenStream` in `rmeta::MacroDef`.Mazdak Farrokhzad-1/+1
This removes a hack from `load_macro_untracked` in which parsing is used.
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-2/+2
2020-02-11Invert control in struct_lint_level.jumbatm-7/+12
Caller now passes in a `decorate` function, which is only run if the lint is allowed.
2020-02-011. move node_id to syntaxMazdak Farrokhzad-7/+8
2. invert rustc_session & syntax deps 3. drop rustc_session dep in rustc_hir
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
For now, this is all the crate contains, but more attribute logic & types will be moved there over time.
2020-01-11move in_derive_expansion as Span methodMazdak Farrokhzad-3/+2
2020-01-11canonicalize some lint importsMazdak Farrokhzad-2/+2
2020-01-11buffered lint infra -> rustc_sessionMazdak Farrokhzad-2/+2
2020-01-11simplify feature_err importsMazdak Farrokhzad-1/+1
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-2/+1
2020-01-07Remove private methods from TyCtxt impl block: rustc::middle::stability.Camille GILLOT-25/+23
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-4/+4
2020-01-04canonicalize FxHash{Map,Set} importsMazdak Farrokhzad-1/+2
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Move stability queries to librustc_passes.Camille GILLOT-0/+410
Contains: - check_mod_unstable_api_usage query; - stability_index query; - check_unused_or_stable features pass.
2020-01-01Move stability.rs to librustc_passes.Camille GILLOT-1001/+0
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-27Syntax for hir::Ty.Camille GILLOT-3/+3
2019-12-22Format the worldMark Rousskov-158/+161
2019-12-21Use Arena inside hir::StructField.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::EnumDef.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::ForeignItem.Camille GILLOT-2/+2
2019-12-21Handle Attributes in arena.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::Item.Camille GILLOT-4/+4
2019-12-13Require stable/unstable annotations for the constness of all stable ↵Oliver Scherer-6/+16
functions with a `const` modifier
2019-12-13Reuse the `staged_api` feature for `rustc_const_unstable`Oliver Scherer-1/+6
2019-11-30move GateIssue to rustc_feature & simplify emit_feature_errMazdak Farrokhzad-10/+14
2019-11-19More HashStable.Camille GILLOT-13/+2
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+3
2019-11-11support issue = "none" in unstable attributesRoss MacArthur-6/+7
- Use `Option<NonZeroU32>` to represent issue numbers.
2019-11-03Migrate resolver over to internal lint bufferMark Rousskov-2/+2
2019-10-21Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=CentrilMazdak Farrokhzad-1/+1
Remove unnecessary trait bounds and derivations This PR removes unnecessary trait bounds and derivations from many types. r? @nikomatsakis
2019-10-21Remove many unnecessary trait derivations.Nicholas Nethercote-1/+1
2019-10-16Make use of the return value of `HashSet::insert`Shotaro Yamada-2/+1
2019-10-10stability: Do not use `buffer_lint` after lowering to HIRVadim Petrochenkov-3/+11
2019-09-28Rollup merge of #64763 - GuillaumeGomez:long-err-explanation-E0734, r=estebankMazdak Farrokhzad-2/+6
Add E0734 and its long explanation Part of https://github.com/rust-lang/rust/issues/61137
2019-09-26Rename `ForeignItem.node` to `ForeignItem.kind`varkor-1/+1
2019-09-26Rename `Item.node` to `Item.kind`varkor-4/+4
2019-09-25Create new error code E0734 for stability attributes used outside of ↵Guillaume Gomez-2/+6
standard library
2019-09-07Support "soft" feature-gating using a lintVadim Petrochenkov-6/+16
Use it for feature-gating `#[bench]`
2019-08-14Merge Variant and Variant_Caio-4/+4
2019-07-07Support deprecation checking for macrosVadim Petrochenkov-63/+85
2019-07-07resolve: Use standard stability diagnostics for macrosVadim Petrochenkov-28/+32