]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-generic-default-wont-borrowck.stderr
Rollup merge of #93613 - crlf0710:rename_to_async_iter, r=yaahc
[rust.git] / src / test / ui / const-generics / const-generic-default-wont-borrowck.stderr
1 error[E0381]: borrow of possibly-uninitialized variable: `s`
2   --> $DIR/const-generic-default-wont-borrowck.rs:2:26
3    |
4 LL |     let s: &'static str; s.len()
5    |                          ^^^^^^^ use of possibly-uninitialized `*s`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0381`.