-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ICE : Region parameter out of range
when instantiating in region
#123836
Comments
When minimizing code, please try to suppress random parser errors by putting back semicolons and stuff. A "minimal" example doesn't need to be shortest in terms of bytes, but also should take into account minimizing the unrelated errors that the compiler spits out in the process. Minimal: #![feature(generic_const_items)]
trait Trait {
const C<'a>: &'a str;
}
impl Trait for () {
const C: &'missing str = "C";
} |
…, r=compiler-errors Generic associated consts: Check regions earlier when comparing impl with trait item def Fixes rust-lang#123836. r? compiler-errors or compiler
Rollup merge of rust-lang#123898 - fmease:gci-cmp-impl-item-lt-params, r=compiler-errors Generic associated consts: Check regions earlier when comparing impl with trait item def Fixes rust-lang#123836. r? compiler-errors or compiler
cargo bisect-rustc points to bisected with cargo-bisect-rustc v0.6.8
|
Code
(reduced)
(original)
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: