-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 6 pull requests #81032
Rollup of 6 pull requests #81032
Commits on Dec 21, 2020
-
Don't try to add nested predicate to Rustdoc auto-trait
ParamEnv
Fixes rust-lang#80233 We already have logic in `evaluate_predicates` that tries to add unimplemented predicates to our `ParamEnv`. Trying to add a predicate that already holds can lead to errors later on, since projection will prefer trait candidates from the `ParamEnv` to predicates from an impl.
Configuration menu - View commit details
-
Copy full SHA for f2d7c05 - Browse repository at this point
Copy the full SHA f2d7c05View commit details
Commits on Jan 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 988e2f9 - Browse repository at this point
Copy the full SHA 988e2f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58e3a4a - Browse repository at this point
Copy the full SHA 58e3a4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29cefd - Browse repository at this point
Copy the full SHA e29cefdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9777e0c - Browse repository at this point
Copy the full SHA 9777e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3bbb98 - Browse repository at this point
Copy the full SHA f3bbb98View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac50400 - Browse repository at this point
Copy the full SHA ac50400View commit details
Commits on Jan 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8ac6481 - Browse repository at this point
Copy the full SHA 8ac6481View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdcb3b5 - Browse repository at this point
Copy the full SHA cdcb3b5View commit details
Commits on Jan 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fd81c87 - Browse repository at this point
Copy the full SHA fd81c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for a356556 - Browse repository at this point
Copy the full SHA a356556View commit details
Commits on Jan 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8ded785 - Browse repository at this point
Copy the full SHA 8ded785View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cf66b8 - Browse repository at this point
Copy the full SHA 7cf66b8View commit details
Commits on Jan 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7b7708e - Browse repository at this point
Copy the full SHA 7b7708eView commit details
Commits on Jan 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 59577b8 - Browse repository at this point
Copy the full SHA 59577b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for af88b73 - Browse repository at this point
Copy the full SHA af88b73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ea1d0e - Browse repository at this point
Copy the full SHA 5ea1d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a56bffb - Browse repository at this point
Copy the full SHA a56bffbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 744f885 - Browse repository at this point
Copy the full SHA 744f885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0f0b5 - Browse repository at this point
Copy the full SHA 7a0f0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0584ddc - Browse repository at this point
Copy the full SHA 0584ddcView commit details
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d07bb13 - Browse repository at this point
Copy the full SHA d07bb13View commit details -
Configuration menu - View commit details
-
Copy full SHA for a70813e - Browse repository at this point
Copy the full SHA a70813eView commit details -
Rollup merge of rust-lang#80254 - Aaron1011:rustdoc-auto-param-env, r…
…=estebank Don't try to add nested predicate to Rustdoc auto-trait `ParamEnv` Fixes rust-lang#80233 We already have logic in `evaluate_predicates` that tries to add unimplemented predicates to our `ParamEnv`. Trying to add a predicate that already holds can lead to errors later on, since projection will prefer trait candidates from the `ParamEnv` to predicates from an impl.
Configuration menu - View commit details
-
Copy full SHA for e0ef0c2 - Browse repository at this point
Copy the full SHA e0ef0c2View commit details -
Rollup merge of rust-lang#80723 - rylev:noop-lint-pass, r=estebank
Implement NOOP_METHOD_CALL lint Implements the beginnings of rust-lang/lang-team#67 - a lint for detecting noop method calls (e.g, calling `<&T as Clone>::clone()` when `T: !Clone`). This PR does not fully realize the vision and has a few limitations that need to be addressed either before merging or in subsequent PRs: * [ ] No UFCS support * [ ] The warning message is pretty plain * [ ] Doesn't work for `ToOwned` The implementation uses [`Instance::resolve`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/instance/struct.Instance.html#method.resolve) which is normally later in the compiler. It seems that there are some invariants that this function relies on that we try our best to respect. For instance, it expects substitutions to have happened, which haven't yet performed, but we check first for `needs_subst` to ensure we're dealing with a monomorphic type. Thank you to `@davidtwco,` `@Aaron1011,` and `@wesleywiser` for helping me at various points through out this PR ❤️.
Configuration menu - View commit details
-
Copy full SHA for fb6e491 - Browse repository at this point
Copy the full SHA fb6e491View commit details -
Rollup merge of rust-lang#80834 - bugadani:vecdeque, r=oli-obk
Remove unreachable panics from VecDeque::{front/back}[_mut] `VecDeque`'s `front`, `front_mut`, `back` and `back_mut` methods are implemented in terms of the index operator, which causes these functions to contain [unreachable panic calls](https://rust.godbolt.org/z/MTnq1o). This PR reimplements these methods in terms of `get[_mut]` instead.
Configuration menu - View commit details
-
Copy full SHA for fdeb2f2 - Browse repository at this point
Copy the full SHA fdeb2f2View commit details -
Rollup merge of rust-lang#80944 - LingMan:map_or, r=nagisa
Use Option::map_or instead of `.map(..).unwrap_or(..)` `@rustbot` modify labels +C-cleanup +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 9053e65 - Browse repository at this point
Copy the full SHA 9053e65View commit details -
Rollup merge of rust-lang#81008 - tmiasko:generator-layout-err, r=tma…
…ndry Don't ICE when computing a layout of a generator tainted by errors Fixes rust-lang#80998.
Configuration menu - View commit details
-
Copy full SHA for 11a63fb - Browse repository at this point
Copy the full SHA 11a63fbView commit details -
Rollup merge of rust-lang#81021 - CraftSpider:rustdoc-remove-import, …
…r=jyn514 Remove doctree::Import Per the title. Part of cleaning up doctree
Configuration menu - View commit details
-
Copy full SHA for e2e9e34 - Browse repository at this point
Copy the full SHA e2e9e34View commit details