Skip to content

Commit b2dbd4f

Browse files
authored
Add blockquotes for error messages in range [C2911, C2940]
1 parent 82d1abf commit b2dbd4f

14 files changed

+14
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 83c7c01a-ab6a-4179-9fb0-289a9ec8d44e
88
---
99
# Compiler Error C2911
1010

11-
'member' : cannot be declared or defined in the current scope
11+
> 'member' : cannot be declared or defined in the current scope
1212
1313
Inside a namespace, class, or function, you can only define a member of the same namespace, class, or function or a member that is enclosed by the same namespace, class, or function.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: bd55cecd-ab1a-4636-ab8a-a00393fe7b3d
88
---
99
# Compiler Error C2912
1010

11-
explicit specialization 'declaration' is not a specialization of a function template
11+
> explicit specialization 'declaration' is not a specialization of a function template
1212
1313
You cannot specialize a non-template function.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c6cf6090-02e8-49a5-913f-5bc6f864b769
88
---
99
# Compiler Error C2913
1010

11-
explicit specialization; 'declaration' is not a specialization of a class template
11+
> explicit specialization; 'declaration' is not a specialization of a class template
1212
1313
You cannot specialize a non-template class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: fc6a0592-f53e-4f5a-88cb-780bbed4acf2
88
---
99
# Compiler Error C2914
1010

11-
'identifier' : cannot deduce type argument as function argument is ambiguous
11+
> 'identifier' : cannot deduce type argument as function argument is ambiguous
1212
1313
The compiler cannot determine which overloaded functions to use for a generic or template argument.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: e452f7ef-0590-45e6-9c7c-ee75dc014670
88
---
99
# Compiler Error C2918
1010

11-
'name': Indexed properties cannot be used on the published surface of a WinRT type
11+
> 'name': Indexed properties cannot be used on the published surface of a WinRT type
1212
1313
Indexed properties are not supported on the published surface of a WinRT type.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 140a6db9-eb48-4c5e-84a7-a09d2653605b
88
---
99
# Compiler Error C2919
1010

11-
'type': Operators cannot be used on the published surface of a WinRT type
11+
> 'type': Operators cannot be used on the published surface of a WinRT type
1212
1313
The Windows Runtime type system does not support operator member functions in the published surface of a type. This is because not all languages can consume operator member functions. You can create private or internal operator member functions that can be called from C++ code in the same class or compilation unit.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0a4cb2de-00a0-4209-8160-c7ce6ed7d9ab
88
---
99
# Compiler Error C2920
1010

11-
redefinition : 'class' : class template or generic has already been declared as 'type'
11+
> redefinition : 'class' : class template or generic has already been declared as 'type'
1212
1313
A generic or template class has multiple declarations, which are not equivalent. To fix this error, use different names for different types, or remove the redefinition of the type name.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 323642a0-bfc4-4942-9f41-c3adf5c54296
88
---
99
# Compiler Error C2921
1010

11-
redefinition : 'class' : class template or generic is being redeclared as 'type'
11+
> redefinition : 'class' : class template or generic is being redeclared as 'type'
1212
1313
A generic or template class has multiple declarations that are not equivalent. To fix this error, use different names for different types, or remove the redefinition of the type name.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6b92933b-13ef-4124-99d9-b89f9fdae030
88
---
99
# Compiler Error C2923
1010

11-
'type' : 'identifier' is not a valid template type argument for parameter 'param'
11+
> 'type' : 'identifier' is not a valid template type argument for parameter 'param'
1212
1313
The argument list is missing a type needed to instantiate the template or generic. Check the template or generic declaration.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 3f75beec-ff5c-44e1-9085-990ecd55198d
88
---
99
# Compiler Error C2927
1010

11-
'function' : a function template must be called with at least one argument
11+
> 'function' : a function template must be called with at least one argument
1212
1313
You cannot call a function template without arguments. The type of the template arguments determines what version of the function to generate.

0 commit comments

Comments
 (0)