nested_tuple.0.0 is not legal and gives the following error
error: unexpected token: `0.0` --> src/lib.rs:2:19 | 2 | let x = nested_tuple.0.0; | ------^^^ | | | | | unexpected token | help: try parenthesizing the first index: `(tuple.0).0` error: aborting due to previous error error: Could not compile `playground`. To learn more, run the command again with --verbose.
Could we change this behavior to parse it as
I assume that this could only be done if we are fine with not parsing
0. in a future edition, see this thread for discussion about that
This idea was spawned by @jethrogb in the thread about not parsing
0. float literals