fix OOM when ty::Instance
is used in query description
This commit is contained in:
parent
11035f9f52
commit
274674819c
4 changed files with 45 additions and 4 deletions
10
tests/ui/resolve/suggest-constructor-cycle-error.rs
Normal file
10
tests/ui/resolve/suggest-constructor-cycle-error.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
// aux-build:suggest-constructor-cycle-error.rs
|
||||
//~^ cycle detected when getting the resolver for lowering [E0391]
|
||||
|
||||
// Regression test for https://github.com/rust-lang/rust/issues/119625
|
||||
|
||||
extern crate suggest_constructor_cycle_error as a;
|
||||
|
||||
const CONST_NAME: a::Uuid = a::Uuid(());
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue