-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.
Description
For example:
Compiling
fn main() {
let z = ();
let y = z[0];
}
results in
nubs/unboxed_vecs.rs:4:12: 4:15 error: cannot index a value of type `<V1>`
nubs/unboxed_vecs.rs:4 let y = z[0];
I think this is because code is calling ty_to_str instead of fcx.infcx.ty_to_str.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.