File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -1306,15 +1306,26 @@ If you want to ignore every file under the directory where you put your rustfmt.
1306
1306
ignore = [" /" ]
1307
1307
```
1308
1308
1309
- ## ` ignore_missing_submod `
1309
+ ## ` report_missing_submod `
1310
1310
1311
- Ignore missing submodule error.
1312
- By default, missing modules will lead to module not found errors and rustfmt won't format anything.
1311
+ Controls whether to report missing submodules and whether rustfmt will format.
1313
1312
1314
- - ** Default value** : ` false `
1315
- - ** Possible values** : ` true ` , ` false `
1313
+ - ** Default value** : ` Error `
1314
+ - ** Possible values** : ` Error ` , ` Warn ` , ` Ignore `
1316
1315
- ** Stable** : No
1317
1316
1317
+ #### ` Error ` (default):
1318
+
1319
+ Missing modules will lead to module not found errors and rustfmt won't format anything.
1320
+
1321
+ #### ` Warn `
1322
+
1323
+ Missing modules will lead to module not found warnings and rustfmt will format.
1324
+
1325
+ #### ` Ignore `
1326
+
1327
+ Ignores missing submodule error and rustfmt will format.
1328
+
1318
1329
## ` imports_indent `
1319
1330
1320
1331
Indent style of imports
You can’t perform that action at this time.
0 commit comments