]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10105
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 24 Sep 2021 15:12:17 +0000 (15:12 +0000)
committerGitHub <noreply@github.com>
Fri, 24 Sep 2021 15:12:17 +0000 (15:12 +0000)
10105: RfC: Use `todo!()` instead of `()` for missing fields r=jonas-schievink a=jo-so

Most commonly a field of a struct can be initialized with its default value than an empty tuple.

Co-authored-by: Jörg Sommer <joerg@jo-so.de>
1  2 
crates/rust-analyzer/tests/slow-tests/tidy.rs