You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see this happen: It compiles, because offset_of allows nested field access in general and regular field access works with "float" tokens.
Instead, this happened: Compile error:
error: expected identifier, found `0.0`
--> src/main.rs:10:49
|
10 | let _ = builtin # offset_of((((), ()), ()), 0.0); // still ERROR
| ^^^ expected identifier
error: expected identifier, found `0.0`
--> src/main.rs:9:40
|
9 | let _ = offset_of!((((), ()), ()), 0.0); // ERROR
| ^^^ expected identifier
Uh oh!
There was an error while loading. Please reload this page.
I tried this code: playground
I expected to see this happen: It compiles, because
offset_of
allows nested field access in general and regular field access works with "float" tokens.Instead, this happened: Compile error:
Meta
rustc --version --verbose
:@rustbot label F-offset_of
The text was updated successfully, but these errors were encountered: