Uh oh!
There was an error while loading. Please reload this page.
Actually taint InferCtxt when a fulfillment error is emitted - #126620
Conversation
rustbot
commented
Jun 18, 2024
r? @fee1-dead rustbot has assigned @fee1-dead. Use |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
fee1-dead
commented
Jun 18, 2024
Changes LGTM, will take another look after the outdated comment is updated/removed and CI green. |
oli-obk
commented
Jun 18, 2024
Moved the tests from the |
There was a problem hiding this comment.
This test was removed without replacement, because it covers the same ICE as tests/ui/const-generics/mistyped_const_in_pat.rs
This comment has been minimized.
This comment has been minimized.
fee1-dead
commented
Jun 19, 2024
@rustbot author |
fee1-dead
left a comment
There was a problem hiding this comment.
LGTM, had a potential improvement worth following up on
| note: required by a bound in `bar` | ||
| --> $DIR/unify_with_nested_expr.rs:14:10 | ||
| --> $DIR/unify_with_nested_expr.rs:12:8 | ||
| | | ||
| LL | fn bar<const N: usize>() | ||
| | --- required by a bound in this function | ||
| LL | where | ||
| LL | [(); N + 1]:, | ||
| | ^^^^^ required by this bound in `bar` | ||
| | ^^^^^^^^^^^^^^ required by this bound in `bar` |
There was a problem hiding this comment.
I wonder if it makes sense to call this a bound? Is it pointing to the span of ConstArgHasType? At least on the language level this is just a const generic parameter and not a bound.
fee1-dead
commented
Jun 19, 2024
@bors r+ |
bors
commented
Jun 19, 2024
oli-obk
commented
Jun 19, 2024
I adjusted the wording without doing a deeper refactoring |
Uh oh!
There was an error while loading. Please reload this page.
…cause of the bound that binds the parameter's type
oli-obk
commented
Jun 19, 2024
@rustbot ready |
fee1-dead
commented
Jun 19, 2024
r=me when green |
fee1-dead
commented
Jun 19, 2024
@bors r+ |
bors
commented
Jun 19, 2024
Actually taint InferCtxt when a fulfillment error is emitted And avoid checking the global error counter fixesrust-lang#122044fixesrust-lang#123255fixesrust-lang#123276fixesrust-lang#125799
Rollup of 7 pull requests Successful merges: - rust-lang#124807 (Migrate `run-make/rustdoc-io-error` to `rmake.rs`) - rust-lang#126095 (Migrate `link-args-order`, `ls-metadata` and `lto-readonly-lib` `run-make` tests to `rmake`) - rust-lang#126308 (Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIR) - rust-lang#126620 (Actually taint InferCtxt when a fulfillment error is emitted) - rust-lang#126629 (Migrate `run-make/compressed-debuginfo` to `rmake.rs`) - rust-lang#126644 (Rewrite `extern-flag-rename-transitive`. `debugger-visualizer-dep-info`, `metadata-flag-frobs-symbols`, `extern-overrides-distribution` and `forced-unwind-terminate-pof` `run-make` tests to rmake) - rust-lang#126650 (Rename a bunch of things in the new solver and `rustc_type_ir`) r? `@ghost` `@rustbot` modify labels: rollup
Actually taint InferCtxt when a fulfillment error is emitted And avoid checking the global error counter fixesrust-lang#122044fixesrust-lang#123255fixesrust-lang#123276fixesrust-lang#125799
Actually taint InferCtxt when a fulfillment error is emitted And avoid checking the global error counter fixesrust-lang#122044fixesrust-lang#123255fixesrust-lang#123276fixesrust-lang#125799
Rollup of 9 pull requests Successful merges: - rust-lang#126095 (Migrate `link-args-order`, `ls-metadata` and `lto-readonly-lib` `run-make` tests to `rmake`) - rust-lang#126534 (Migrate `run-make/comment-section` to `rmake.rs`) - rust-lang#126620 (Actually taint InferCtxt when a fulfillment error is emitted) - rust-lang#126629 (Migrate `run-make/compressed-debuginfo` to `rmake.rs`) - rust-lang#126644 (Rewrite `extern-flag-rename-transitive`. `debugger-visualizer-dep-info`, `metadata-flag-frobs-symbols`, `extern-overrides-distribution` and `forced-unwind-terminate-pof` `run-make` tests to rmake) - rust-lang#126650 (Rename a bunch of things in the new solver and `rustc_type_ir`) - rust-lang#126698 (Migrate `unknown-mod-stdin`, `issue-68794-textrel-on-minimal-lib`, `raw-dylib-cross-compilation` and `used-cdylib-macos` `run-make` tests to rmake) - rust-lang#126703 (reword the hint::blackbox non-guarantees) - rust-lang#126708 (Minimize `can_begin_literal_maybe_minus` usage) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#126620 (Actually taint InferCtxt when a fulfillment error is emitted) - rust-lang#126649 (Fix `feature = "nightly"` in the new trait solver) - rust-lang#126652 (Clarify that anonymous consts still do introduce a new scope) - rust-lang#126703 (reword the hint::blackbox non-guarantees) - rust-lang#126708 (Minimize `can_begin_literal_maybe_minus` usage) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#126620 - oli-obk:taint_errors, r=fee1-dead Actually taint InferCtxt when a fulfillment error is emitted And avoid checking the global error counter fixesrust-lang#122044fixesrust-lang#123255fixesrust-lang#123276fixesrust-lang#125799
And avoid checking the global error counter
fixes#122044
fixes#123255
fixes#123276
fixes#125799