···11+---
22+source: compiler-core/src/type_/tests/warnings.rs
33+expression: pub const bits = <<1.2>>
44+---
55+----- SOURCE CODE
66+pub const bits = <<1.2>>
77+88+----- WARNING
99+warning: Incompatible gleam version range
1010+ ┌─ /src/warning/wrn.gleam:1:20
1111+ │
1212+1 │ pub const bits = <<1.2>>
1313+ │ ^^^ This requires a Gleam version >= 1.10.0
1414+1515+The ability to omit the `float` annotation for segments was introduced in
1616+version v1.10.0. But the Gleam version range specified in your `gleam.toml`
1717+would allow this code to run on an earlier version like v1.0.0, resulting
1818+in compilation errors!
1919+Hint: Remove the version constraint from your `gleam.toml` or update it to be:
2020+2121+ gleam = ">= 1.10.0"
···11+---
22+source: compiler-core/src/type_/tests/warnings.rs
33+expression: "\npub fn main(a) {\n case a {\n <<1.2>> -> Nil\n _ -> Nil\n }\n}\n"
44+---
55+----- SOURCE CODE
66+77+pub fn main(a) {
88+ case a {
99+ <<1.2>> -> Nil
1010+ _ -> Nil
1111+ }
1212+}
1313+1414+1515+----- WARNING
1616+warning: Incompatible gleam version range
1717+ ┌─ /src/warning/wrn.gleam:4:7
1818+ │
1919+4 │ <<1.2>> -> Nil
2020+ │ ^^^ This requires a Gleam version >= 1.10.0
2121+2222+The ability to omit the `float` annotation for segments was introduced in
2323+version v1.10.0. But the Gleam version range specified in your `gleam.toml`
2424+would allow this code to run on an earlier version like v1.0.0, resulting
2525+in compilation errors!
2626+Hint: Remove the version constraint from your `gleam.toml` or update it to be:
2727+2828+ gleam = ">= 1.10.0"
···11+---
22+source: compiler-core/src/type_/tests/warnings.rs
33+expression: "\npub fn main() {\n <<1.2>>\n}\n"
44+---
55+----- SOURCE CODE
66+77+pub fn main() {
88+ <<1.2>>
99+}
1010+1111+1212+----- WARNING
1313+warning: Incompatible gleam version range
1414+ ┌─ /src/warning/wrn.gleam:3:5
1515+ │
1616+3 │ <<1.2>>
1717+ │ ^^^ This requires a Gleam version >= 1.10.0
1818+1919+The ability to omit the `float` annotation for segments was introduced in
2020+version v1.10.0. But the Gleam version range specified in your `gleam.toml`
2121+would allow this code to run on an earlier version like v1.0.0, resulting
2222+in compilation errors!
2323+Hint: Remove the version constraint from your `gleam.toml` or update it to be:
2424+2525+ gleam = ">= 1.10.0"
···10921092 FeatureKind::UnannotatedUtf8StringSegment => {
10931093 "The ability to omit the `utf8` annotation for string segments was"
10941094 }
10951095+ FeatureKind::UnannotatedFloatSegment => {
10961096+ "The ability to omit the `float` annotation for segments was"
10971097+ }
10951098 FeatureKind::NestedTupleAccess => {
10961099 "The ability to access nested tuple fields was"
10971100 }