rust/src/librustc_resolve
Yuki Okushi 7ea9cfc1fb
Rollup merge of #65620 - ryoqun:remove-unneeded-comment, r=varkor
Correctly note code as Ok not error for E0573

Hi, this is my first pull request to the Rust project.

The fix is very small one just to fix an oversight in a comment.

Namely, [this documentation PR](https://github.com/rust-lang/rust/pull/65234) added a longer explanation for E0573. It illustrated the error using erroneous/corrected contrasting examples. But it accidentally forgot to remove `// error` from the corrected example.

Sadly, I found the error after the PR got merged. [As suggested by the original author](https://github.com/rust-lang/rust/pull/65234/files#r336518549) of the PR, I created an PR to fix this.

Part of #61137.
2019-10-21 19:53:02 +09:00
..
late Point at enclosing function without self receiver 2019-10-17 20:26:21 -07:00
build_reduced_graph.rs expand: Simplify expansion of derives 2019-10-19 00:23:57 +03:00
Cargo.toml move syntax::ext to new crate syntax_expand 2019-10-16 10:59:53 +02:00
check_unused.rs Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
diagnostics.rs move syntax::ext to new crate syntax_expand 2019-10-16 10:59:53 +02:00
error_codes.rs Correctly note code as Ok not error for E0573 2019-10-21 09:25:57 +09:00
late.rs Point at enclosing function without self receiver 2019-10-17 20:26:21 -07:00
lib.rs move syntax::ext to new crate syntax_expand 2019-10-16 10:59:53 +02:00
macros.rs expand: Simplify expansion of derives 2019-10-19 00:23:57 +03:00
resolve_imports.rs Rollup merge of #65460 - sinkuu:contains_insert, r=varkor 2019-10-21 03:10:54 +09:00