about summary refs log tree commit diff
path: root/tests/ui/resolve/suggestions/suggest-constructor-cycle-error.stderr
blob: c6ec2465a432c0c4f8ab7ffd115765f8aad90844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0423]: cannot initialize a tuple struct which contains private fields
  --> $DIR/suggest-constructor-cycle-error.rs:7:29
   |
LL | const CONST_NAME: a::Uuid = a::Uuid(());
   |                             ^^^^^^^
   |
note: constructor is not visible here due to private fields
  --> $DIR/auxiliary/suggest-constructor-cycle-error.rs:2:21
   |
LL |     pub struct Uuid(());
   |                     ^^ private field

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0423`.