Document 'export' and provide better errors on module not found.

This commit is contained in:
KtorZ
2024-08-06 11:09:05 +02:00
parent e3b1cf1093
commit 8c121f6d97
4 changed files with 39 additions and 8 deletions

View File

@@ -1820,7 +1820,7 @@ pub enum UnknownRecordFieldSituation {
FunctionCall,
}
fn format_suggestion(sample: &UntypedExpr) -> String {
pub fn format_suggestion(sample: &UntypedExpr) -> String {
Formatter::new()
.expr(sample, false)
.to_pretty_string(70)