From 95870e25c631883a16da23b349738ebc0f3e2966 Mon Sep 17 00:00:00 2001 From: PankajChaudhary5 Date: Thu, 26 Mar 2020 11:32:56 +0530 Subject: Add long error explanation for E0703 --- src/test/ui/codemap_tests/unicode.stderr | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') diff --git a/src/test/ui/codemap_tests/unicode.stderr b/src/test/ui/codemap_tests/unicode.stderr index fc2a0b5950e..01d54ac8cc8 100644 --- a/src/test/ui/codemap_tests/unicode.stderr +++ b/src/test/ui/codemap_tests/unicode.stderr @@ -8,3 +8,4 @@ LL | extern "路濫狼á́́" fn foo() {} error: aborting due to previous error +For more information about this error, try `rustc --explain E0703`. -- cgit 1.4.1-3-g733a5 From e5f4dad6c8f1e2cb28c007d20e024b3d34cd45d1 Mon Sep 17 00:00:00 2001 From: PankajChaudhary5 Date: Thu, 26 Mar 2020 13:17:41 +0530 Subject: Refactor code --- src/librustc_error_codes/error_codes/E0703.md | 1 - src/test/ui/parser/issue-8537.stderr | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/librustc_error_codes/error_codes/E0703.md b/src/librustc_error_codes/error_codes/E0703.md index 14c3cb5c8ea..2f9d745261c 100644 --- a/src/librustc_error_codes/error_codes/E0703.md +++ b/src/librustc_error_codes/error_codes/E0703.md @@ -6,7 +6,6 @@ Erroneous code example: extern "invalid" fn foo() {} //~ ERROR fn main() { } - ``` At present there the few predefined ABI's (like Rust, C, system, etc.) which we can use in our Rust code. Please verify the ABI from the diff --git a/src/test/ui/parser/issue-8537.stderr b/src/test/ui/parser/issue-8537.stderr index b20226f87e8..a0793d94653 100644 --- a/src/test/ui/parser/issue-8537.stderr +++ b/src/test/ui/parser/issue-8537.stderr @@ -8,3 +8,4 @@ LL | "invalid-ab_isize" error: aborting due to previous error +For more information about this error, try `rustc --explain E0703`. -- cgit 1.4.1-3-g733a5