rust/tests/ui/parser/generic-statics.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

9 lines
177 B
Plaintext

error: static items may not have generic parameters
--> $DIR/generic-statics.rs:1:9
|
LL | static S<T>: i32 = 0;
| ^^^
error: aborting due to 1 previous error