]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/issue-83907-invalid-fn-like-path.stderr
Rollup merge of #90498 - joshtriplett:target-tier-policy-draft-updates, r=Mark-Simulacrum
[rust.git] / src / test / ui / lifetimes / issue-83907-invalid-fn-like-path.stderr
1 error: free static item without body
2   --> $DIR/issue-83907-invalid-fn-like-path.rs:3:1
3    |
4 LL | static STATIC_VAR_FIVE: &One();
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
6    |                               |
7    |                               help: provide a definition for the static: `= <expr>;`
8
9 error[E0412]: cannot find type `One` in this scope
10   --> $DIR/issue-83907-invalid-fn-like-path.rs:3:26
11    |
12 LL | static STATIC_VAR_FIVE: &One();
13    |                          ^^^ not found in this scope
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0412`.