]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-generic-default-wont-borrowck.stderr
Rollup merge of #99479 - Enselic:import-can-be-without-id, r=camelid
[rust.git] / src / test / ui / const-generics / const-generic-default-wont-borrowck.stderr
1 error[E0381]: used binding `s` isn't initialized
2   --> $DIR/const-generic-default-wont-borrowck.rs:2:26
3    |
4 LL |     let s: &'static str; s.len()
5    |         -                ^^^^^^^ `*s` used here but it isn't initialized
6    |         |
7    |         binding declared here but left uninitialized
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0381`.