]> git.lizzy.rs Git - rust.git/commit
syntax: Use `let _` in #[derive(Debug)]
authorAlex Crichton <alex@alexcrichton.com>
Mon, 9 Nov 2015 18:02:39 +0000 (10:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 9 Nov 2015 18:42:58 +0000 (10:42 -0800)
commit5d55533f93c8cd8ab189d5da919ec9b2b456ae35
treebcd7c6665e6ab6fe2736512e6a379f57a37fe92d
parent00aa3cbecc6723898a04467050891c26a7fdb758
syntax: Use `let _` in #[derive(Debug)]

This should help avoid triggering the unused_results lint which can frequently
be turned on.

Closes #29710
src/libsyntax/ext/deriving/debug.rs
src/test/run-pass/issue-29710.rs [new file with mode: 0644]