| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-04 | Rollup merge of #71773 - tshepang:links, r=davidtwco | Dylan DPC | -3/+3 | |
| doc: misc rustdoc things | ||||
| 2020-05-03 | Rollup merge of #71542 - crlf0710:confusable_idents, r=petrochenkov | Dylan DPC | -3/+147 | |
| Implement `confusable_idents` lint. This collects all identifier symbols into `ParseSession` and examines them within the non-ascii-idents lint. The skeleton generation part needs to be added to `unicode-security` crate. Will update this PR when the crate is updated. r? @petrochenkov EDIT: also included the `concat_idents` part. | ||||
| 2020-05-03 | Add a fast code path to optimize `confusable_idents` lint for ASCII code base. | Charles Lew | -4/+49 | |
| 2020-05-03 | Implement `confusable_idents` lint. | Charles Lew | -3/+102 | |
| 2020-05-02 | fix rustdoc warnings | Tshepang Lekhonkhobe | -2/+2 | |
| 2020-05-01 | doc: misc rustdoc things | Tshepang Lekhonkhobe | -3/+3 | |
| 2020-04-28 | Use the query system to allocate. | Camille GILLOT | -2/+2 | |
| 2020-04-27 | Accept `LocalDefId` as key for `lint_mod` query | marmeladema | -7/+3 | |
| 2020-04-24 | Quick and dirty fix of the unused_braces lint | flip1995 | -1/+7 | |
| Adresses #70814 | ||||
| 2020-04-23 | Address comments from review | marmeladema | -7/+4 | |
| 2020-04-23 | Modify `as_local_hir_id` to return a bare `HirId` | marmeladema | -8/+5 | |
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -6/+17 | |
| 2020-04-23 | librustc_middle: return LocalDefId instead of DefId in local_def_id | marmeladema | -4/+5 | |
| 2020-04-23 | Rollup merge of #71408 - GuillaumeGomez:check-code-blocks-tags, r=kinnison | Dylan DPC | -1/+3 | |
| Check code blocks tags Fixes #71347. Explanations here: I realized recently that it was a common issue to confuse/misspell tags on code blocks. This is actually quite a big issue since it generally ends up in a code blocks being ignored since it's not being considered as a rust one. With this new warning, users will at least be notified about it. PS: some improvements can be done on the error rendering but considering how big the PR already is, I think it's better to do it afterwards. r? @ollie27 cc @rust-lang/rustdoc | ||||
| 2020-04-23 | Create new rustdoc lint to check for code blocks tags | Guillaume Gomez | -1/+3 | |
| 2020-04-22 | Rollup merge of #71412 - dtolnay:uselessdoc, r=Manishearth | Dylan DPC | -1/+1 | |
| Clarify unused_doc_comments note on macro invocations The previous error message used to say: <pre> /// doc ^^^^^^^ rustdoc does not generate documentation for <b>macros</b> </pre> Obviously we do generate documentation for macros, such as https://docs.rs/bitflags/1.2.1/bitflags/macro.bitflags.html. It's only macro invocations that don't get their own docs. This PR updates the message to say "rustdoc does not generate documentation for <b>macro invocations</b>". I observe that prior to #69084 this used to say "rustdoc does not generate documentation for **macro expansions**", as implemented originally in #57882. I don't have a preference between those but I made the commit before looking up the history. r? @Manishearth attn: @yaahc @euclio | ||||
| 2020-04-21 | Clarify unused_doc_comments note on macro invocations | David Tolnay | -1/+1 | |
| 2020-04-20 | Remove unused dependencies | Shotaro Yamada | -1/+0 | |
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -10/+11 | |
| 2020-04-14 | cleanup `is_expr_delims_necessary` | Bastian Kauschke | -1/+1 | |
| 2020-04-13 | Remove usage of `DUMMY_HIR_ID` in some visitors | marmeladema | -9/+9 | |
| 2020-04-10 | librustc_middle: return LocalDefId instead of DefId in body_owner_def_id | marmeladema | -1/+1 | |
| 2020-04-07 | remove false positives of unused_braces | Bastian Kauschke | -3/+23 | |
| 2020-04-06 | ty: switch `Ty::walk` from `Ty` to `GenericArg`. | Eduard-Mihai Burtescu | -5/+8 | |
| 2020-04-05 | Stop importing int/float modules in librustc_* | Linus Färnstrand | -1/+0 | |
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -6/+9 | |
| 2020-04-01 | Rollup merge of #70081 - lcnr:issue68387, r=varkor | Dylan DPC | -129/+371 | |
| add `unused_braces` lint Add the lint `unused_braces` which is warn by default. `unused_parens` is also extended and now checks anon consts. closes #68387 r? @varkor | ||||
| 2020-03-31 | update unused_braces wording | Bastian Kauschke | -12/+11 | |
| 2020-03-30 | Use if let instead of match when only matching a single variant ↵ | Matthias Krüger | -58/+41 | |
| (clippy::single_match) Makes code more compact and reduces nestig. | ||||
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -12/+12 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -37/+36 | |
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -2/+2 | |
| 2020-03-27 | add `unused_braces`, lint anon_const | Bastian Kauschke | -129/+366 | |
| 2020-03-27 | add visit_anon_const to EarlyContextAndPass | Bastian Kauschke | -0/+6 | |
| 2020-03-27 | Rename TyLayout to TyAndLayout. | Ana-Maria Mihalache | -3/+3 | |
| 2020-03-25 | Rename `def_span` to `guess_head_span` | Esteban Küber | -6/+10 | |
| 2020-03-24 | Rollup merge of #69740 - mark-i-m:describe-it-3, r=eddyb | Mazdak Farrokhzad | -33/+37 | |
| Replace some desc logic in librustc_lint with article_and_desc r? @eddyb @Centril @matthewjasper Followup to https://github.com/rust-lang/rust/pull/69674 Blocked on #69498 | ||||
| 2020-03-22 | the crate and tests | mark | -1/+1 | |
| 2020-03-21 | use static strs | mark | -14/+18 | |
| 2020-03-21 | convert a couple more errors | mark | -13/+6 | |
| 2020-03-21 | replace some adhoc logic with article_and_descr | Mark Mansi | -19/+26 | |
| 2020-03-21 | {rustc::hir::map -> rustc_hir}::definitions | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-21 | add_elided_lifetime_in_path_suggestion -> rustc_session | Mazdak Farrokhzad | -2/+1 | |
| 2020-03-20 | remove redundant returns (clippy::needless_return) | Matthias Krüger | -2/+2 | |
| 2020-03-20 | remove redundant import (clippy::single_component_path_imports) | Matthias Krüger | -2/+0 | |
| remove redundant format!() call (clippy::useless_format) don't use ok() before calling expect() (clippy::ok_expect) | ||||
| 2020-03-19 | rustc: use LocalDefId instead of DefIndex in HirId. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-03-18 | Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc | Mazdak Farrokhzad | -2/+1 | |
| Remove some imports to the rustc crate - When we have `NestedVisitorMap::None`, we use `type Map = dyn intravisit::Map<'v>;` instead of the actual map. This doesn't actually result in dynamic dispatch (in the future we may want to use an associated type default to simplify the code). - Use `rustc_session::` imports instead of `rustc::{session, lint}`. r? @Zoxc | ||||
| 2020-03-18 | fix pre-expansion linting infra | Mazdak Farrokhzad | -13/+5 | |
| 2020-03-17 | Rollup merge of #70049 - oli-obk:param_env_empty_considered_unimplemented, ↵ | Mazdak Farrokhzad | -1/+6 | |
| r=eddyb Fiddle `ParamEnv` through to a place that used to use `ParamEnv::empty` in a buggy manner cc https://github.com/rust-lang/rust/pull/69981#discussion_r393048924 r? @eddyb | ||||
| 2020-03-17 | Rollup merge of #69881 - Centril:fix-69485, r=oli-obk | Mazdak Farrokhzad | -4/+2 | |
| VariantSizeDifferences: bail on SizeOverflow Fixes #69485. r? @oli-obk | ||||
