File tree Expand file tree Collapse file tree 3 files changed +383
-229
lines changed
rustc_error_messages/locales/en-US Expand file tree Collapse file tree 3 files changed +383
-229
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,13 @@ lint_builtin_deref_nullptr = dereferencing a null pointer
433433
434434lint_builtin_asm_labels = avoid using named labels in inline assembly
435435
436+ lint_builtin_special_module_name_used_lib = found module declaration for lib.rs
437+ .note = lib.rs is the root of this crate's library target
438+ .help = to refer to it from other targets, use the library's name as the path
439+
440+ lint_builtin_special_module_name_used_main = found module declaration for main.rs
441+ .note = a binary crate cannot be used as library
442+
436443lint_overruled_attribute = { $lint_level } ({ $lint_source } ) incompatible with previous forbid
437444 .label = overruled by previous forbid
438445
You can’t perform that action at this time.
0 commit comments