Skip to content

Commit 049e07e

Browse files
authored
Add blockquotes for error messages in range [C2581, C2610]
1 parent 25815cb commit 049e07e

17 files changed

+17
-17
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2581.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 24a4e4c1-24d3-4e42-b760-7dcaf9740b16
88
---
99
# Compiler Error C2581
1010

11-
'type' : static 'operator =' function is illegal
11+
> 'type' : static 'operator =' function is illegal
1212
1313
The assignment (`=`) operator is incorrectly declared as **`static`**. Assignment operators cannot be **`static`**. For more information, see [User-Defined Operators (C++/CLI)](../../dotnet/user-defined-operators-cpp-cli.md).
1414

docs/error-messages/compiler-errors-2/compiler-error-c2582.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ee1b9378-8bcd-4792-b87e-6d7a466d29ed
88
---
99
# Compiler Error C2582
1010

11-
'function' function is unavailable in 'type'
11+
> 'function' function is unavailable in 'type'
1212
1313
An attempt was made to assign to an object that does not have an assignment operator.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2584.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 836e2c0a-86c0-4742-b432-beb0191ad20e
88
---
99
# Compiler Error C2584
1010

11-
'Class' : direct base 'Base2' is inaccessible; already a base of 'Base1'
11+
> 'Class' : direct base 'Base2' is inaccessible; already a base of 'Base1'
1212
1313
`Class` already derives directly from `Base1`. `Base2` also derives from `Base1`. `Class` cannot derive from `Base2` because that would mean inheriting (indirectly) from `Base1` again, which is not legal because `Base1` is already a direct base class.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2585.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 05bb1a9c-28fb-4a88-a1b5-aea85ebdee1c
88
---
99
# Compiler Error C2585
1010

11-
explicit conversion to 'type' is ambiguous
11+
> explicit conversion to 'type' is ambiguous
1212
1313
The type conversion can produce more than one result.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2586.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: dae703c7-5c38-4db6-8411-4d1b22713eb5
88
---
99
# Compiler Error C2586
1010

11-
incorrect user-defined conversion syntax : illegal indirections
11+
> incorrect user-defined conversion syntax : illegal indirections
1212
1313
Indirection of a conversion operator is not allowed.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2587.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7637a2c7-35d4-4b5a-a8f2-515a7bda98fd
88
---
99
# Compiler Error C2587
1010

11-
'identifier' : illegal use of local variable as default parameter
11+
> 'identifier' : illegal use of local variable as default parameter
1212
1313
Local variables are not allowed as default parameters.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2588.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 19a0cabd-ca13-44a5-9be3-ee676abf9bc4
88
---
99
# Compiler Error C2588
1010

11-
'::~identifier' : illegal global destructor
11+
> '::~identifier' : illegal global destructor
1212
1313
The destructor is defined for something other than a class, structure, or union. This is not allowed.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2589.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1d7942c7-8a81-4bb4-b272-76a0019e8513
88
---
99
# Compiler Error C2589
1010

11-
'identifier' : illegal token on right side of '::'
11+
> 'identifier' : illegal token on right side of '::'
1212
1313
If a class, structure, or union name appears to the left of the scope-resolution operator (double colons), the token on the right must be a class, structure, or union member. Otherwise, any global identifier can appear on the right.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2592.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 833a4d7b-66ef-4d4c-ae83-a533c2b0eb07
88
---
99
# Compiler Error C2592
1010

11-
'class': 'base_class_2' is inherited from 'base_class_1' and cannot be re-specified
11+
> 'class': 'base_class_2' is inherited from 'base_class_1' and cannot be re-specified
1212
1313
You can only specify base classes that do not inherit from other base classes. In this case, only `base_class_1` is needed in the specification of **`class`** because `base_class_1` already inherits `base_class_2`.

docs/error-messages/compiler-errors-2/compiler-error-c2593.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 4a0fe9bb-2163-447d-91f6-1890ed8250f6
88
---
99
# Compiler Error C2593
1010

11-
'operator identifier' is ambiguous
11+
> 'operator identifier' is ambiguous
1212
1313
More than one possible operator is defined for an overloaded operator.
1414

0 commit comments

Comments
 (0)