From 6d7a8650aaea16015500c3e8887bcd8e439dc4df Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Thu, 14 Aug 2025 21:05:58 +0800 Subject: [PATCH 1/5] Add blockquotes and update error message in C3083 error reference --- docs/error-messages/compiler-errors-2/compiler-error-c3083.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md index 35cefa54416..7f5871d0304 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md @@ -8,7 +8,7 @@ ms.assetid: 05ff791d-52bb-41eb-9511-3ef89d7f4710 --- # Compiler Error C3083 -'function': the symbol to the left of a '::' must be a type +> '*identifier*': the symbol to the left of a '::' must be a type A function was called incorrectly. From 80b3960228e32215cddd86e79303e70cfeb3c500 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Thu, 14 Aug 2025 21:06:51 +0800 Subject: [PATCH 2/5] Add "Remarks" heading in C3083 error reference --- docs/error-messages/compiler-errors-2/compiler-error-c3083.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md index 7f5871d0304..3792c711f26 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md @@ -10,6 +10,8 @@ ms.assetid: 05ff791d-52bb-41eb-9511-3ef89d7f4710 > '*identifier*': the symbol to the left of a '::' must be a type +## Remarks + A function was called incorrectly. ## Example From 4243428b360981ffec222356fe17d310cf0b5190 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Thu, 14 Aug 2025 21:28:30 +0800 Subject: [PATCH 3/5] Overhaul remarks in C3083 error reference --- docs/error-messages/compiler-errors-2/compiler-error-c3083.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md index 3792c711f26..7a86aaf4a0c 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md @@ -12,7 +12,7 @@ ms.assetid: 05ff791d-52bb-41eb-9511-3ef89d7f4710 ## Remarks -A function was called incorrectly. +The qualification used is invalid. Ensure that no extra symbols were used in the qualification and that you included all required headers. ## Example From 39250ac89130c2fa3ae880c0cf2cfbe41b48e1ca Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Thu, 14 Aug 2025 21:34:44 +0800 Subject: [PATCH 4/5] Fix and improve example in C3083 error reference --- .../compiler-errors-2/compiler-error-c3083.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md index 7a86aaf4a0c..fd0580e5a49 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md @@ -16,19 +16,17 @@ The qualification used is invalid. Ensure that no extra symbols were used in the ## Example -The following sample generates C3083. +The following example generates C3083: ```cpp // C3083.cpp // compile with: /c -struct N { - ~N(); -}; -struct N1 { - ~N1(); +struct S +{ + S(); }; -N::N::~N() {} // C3083 -N1::~N1() {} // OK +S::Extra::S() {} // C3083 +S::S() {} // OK ``` From 5f6fa92144dd7373e9270d16e5b283fb3d00b494 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Thu, 14 Aug 2025 21:35:31 +0800 Subject: [PATCH 5/5] Update metadata in C3083 error reference --- .../error-messages/compiler-errors-2/compiler-error-c3083.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md index fd0580e5a49..8b0ec411136 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c3083.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c3083.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: Compiler Error C3083" title: "Compiler Error C3083" -ms.date: "11/04/2016" +description: "Learn more about: Compiler Error C3083" +ms.date: 08/14/2025 f1_keywords: ["C3083"] helpviewer_keywords: ["C3083"] -ms.assetid: 05ff791d-52bb-41eb-9511-3ef89d7f4710 --- # Compiler Error C3083