File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1111### Formatter
1212
1313### Bug fixes
14+
15+ - Fixed a typo in the error message emitted when trying to run a module that
16+ does not have a main function.
17+ ([ Louis Pilfold] ( https://github.com/lpil ) )
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ rustup upgrade stable
101101
102102The compiler uses a Cap'n Proto schema to serialize/deserialize module information.
103103Occasionally, the schema needs to change. After modifying ` compiler-core/schema.capnp `
104- you need to to re-generate ` compiler-core/generated/schema_capnp.rs ` . To do that,
104+ you need to re-generate ` compiler-core/generated/schema_capnp.rs ` . To do that,
105105[ install Cap'n Proto] ( https://capnproto.org/install.html ) and un-comment appropriate lines
106106in ` compiler-core/build.rs ` . Then you should be able to re-generate that file with:
107107
Original file line number Diff line number Diff line change @@ -922,8 +922,7 @@ forward slash and must not end with a slash."
922922 level: Level :: Error ,
923923 location: None ,
924924 hint: Some ( format!(
925- "Add a public `main` function to \
926- to `{}/{module}.gleam`.",
925+ "Add a public `main` function to `{}/{module}.gleam`." ,
927926 origin. folder_name( )
928927 ) ) ,
929928 } ] ,
You can’t perform that action at this time.
0 commit comments