fork/rust

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

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

master
609 B17 linesraw
1error: free static item without body
2  --> $DIR/issue-83907-invalid-fn-like-path.rs:3:1
3   |
4LL | static STATIC_VAR_FIVE: &One();
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
6   |                               |
7   |                               help: provide a definition for the static: `= <expr>;`
8
9error[E0412]: cannot find type `One` in this scope
10  --> $DIR/issue-83907-invalid-fn-like-path.rs:3:26
11   |
12LL | static STATIC_VAR_FIVE: &One();
13   |                          ^^^ not found in this scope
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0412`.