···233233 Whereas before, it would suggest `_` as the only missing pattern.
234234 ([Surya Rose](https://github.com/GearsDatapacks))
235235236236-- Improve error message for using @external with unknown target
236236+- Improve error message for using `@external` with unknown target
237237 ([Jiangda Wang](https://github.com/frank-iii))
238238+239239+- Improved error title when using an unknown module value.
240240+ ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
238241239242### Formatter
240243···363366 unused.
364367 ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
365368366366-- The Language Server now correctly shows completions for values in the Gleam prelude.
369369+- The Language Server now correctly shows completions for values in the Gleam
370370+ prelude.
367371 ([Surya Rose](https://github.com/GearsDatapacks))
368372369373## v1.4.1 - 2024-08-04
···22source: compiler-core/src/type_/tests/imports.rs
33expression: "import gleam.{Unknown, type Int as Integer}\n\npub fn main() -> Integer {\n Nil\n}"
44---
55-error: Unknown module field
55+error: Unknown module value
66 ┌─ /src/one/two.gleam:1:15
77 │
881 │ import gleam.{Unknown, type Int as Integer}
···11---
22source: test-package-compiler/src/generated_tests.rs
33-assertion_line: 285
43expression: "./cases/unknown_module_field_in_constant"
54---
66-error: Unknown module field
55+error: Unknown module value
76 ┌─ src/two.gleam:3:16
87 │
983 │ pub const it = one.B
109 │ ^ Did you mean `A`?
11101211The module `one` does not have a `B` value.
1313-
···11---
22source: test-package-compiler/src/generated_tests.rs
33-assertion_line: 297
43expression: "./cases/unknown_module_field_in_expression"
54---
66-error: Unknown module field
55+error: Unknown module value
76 ┌─ src/two.gleam:4:6
87 │
984 │ one.B
109 │ ^ Did you mean `A`?
11101211The module `one` does not have a `B` value.
1313-
···11---
22source: test-package-compiler/src/generated_tests.rs
33-assertion_line: 309
43expression: "./cases/unknown_module_field_in_import"
54---
66-error: Unknown module field
55+error: Unknown module value
76 ┌─ src/two.gleam:1:13
87 │
981 │ import one.{B}
109 │ ^ Did you mean `A`?
11101211The module `one` does not have a `B` value.
1313-