-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up E0761 explanation #75941
Clean up E0761 explanation #75941
Conversation
@@ -2,24 +2,20 @@ Multiple candidate files were found for an out-of-line module. | |||
|
|||
Erroneous code example: | |||
|
|||
```rust | |||
```ignore (multiple source files required for compile_fail) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I never seen this, I thought ignore
needs to be at the end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually mandatory in error codes explanations. ;)
mod ambiguous_module; // error: file for module `ambiguous_module` | ||
// found at both ambiguous_module.rs and | ||
// ambiguous_module.rs/mod.rs | ||
|
||
fn main() {} | ||
``` | ||
|
||
Please remove this ambiguity by deleting/renaming one of the candidate files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one or more
to be exact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this ambiguity by deleting/renaming one of the candidate files. | |
Please remove this ambiguity by deleting/renaming one or more of the candidate files. |
@bors r+ rollup |
📌 Commit c73d4cd has been approved by |
…albini Rollup of 12 pull requests Successful merges: - rust-lang#75330 (Improve rendering of crate features via doc(cfg)) - rust-lang#75927 (Use intra-doc links in `core::macros`) - rust-lang#75941 (Clean up E0761 explanation) - rust-lang#75943 (Fix potential UB in align_offset doc examples) - rust-lang#75946 (Error use explicit intra-doc link and fix text) - rust-lang#75955 (Use intra-doc links in `core::future::future` and `core::num::dec2flt`) - rust-lang#75967 (Fix typo in `std::hint::black_box` docs) - rust-lang#75972 (Fix ICE due to carriage return w/ multibyte char) - rust-lang#75989 (Rename rustdoc/test -> rustdoc/doctest) - rust-lang#75996 (fix wording in release notes) - rust-lang#75998 (Add InstrProfilingPlatformFuchsia.c to profiler_builtins) - rust-lang#76000 (Adds --bless support to test/run-make-fulldeps) Failed merges: r? @ghost
r? @Dylan-DPC