]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-for.stderr
Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.
[rust.git] / src / test / ui / consts / const-for.stderr
1 error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
2   --> $DIR/const-for.rs:5:14
3    |
4 LL |     for _ in 0..5 {}
5    |              ^^^^
6
7 error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
8   --> $DIR/const-for.rs:5:14
9    |
10 LL |     for _ in 0..5 {}
11    |              ^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0015`.