fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
206 B10 linesraw
1#![warn(clippy::let_unit_value)]
2
3fn f() {}
4static FN: fn() = f;
5
6fn main() {
7    FN();
8    //~^ ERROR: this let-binding has unit value
9    //~| NOTE: `-D clippy::let-unit-value` implied by `-D warnings`
10}