fix cycle error for "use constructor" suggestion
This commit is contained in:
parent
274674819c
commit
339fa311ad
3 changed files with 13 additions and 16 deletions
|
@ -1,10 +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(());
|
||||
//~^ ERROR: cannot initialize a tuple struct which contains private fields [E0423]
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue