Skip to content

Improve C3083 error reference #5661

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions docs/error-messages/compiler-errors-2/compiler-error-c3083.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
---
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

'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.
## Remarks

The qualification used is invalid. Ensure that no extra symbols were used in the qualification and that you included all required headers.

## 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
```