Apparently it's ill-formed to explicitly specify a capture for a variable that would be captured the same way by default, so I've added this as a pedwarn. Tested x86_64-pc-linux-gnu, applying to trunk.