Skip to content

Commit f9a84c3

Browse files
authored
Update C2998 error message and add blockquotes
1 parent 087e22d commit f9a84c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8193d491-b5d9-4477-acb1-cf166889c070
88
---
99
# Compiler Error C2998
1010

11-
'identifier' : cannot be a template definition
11+
> '*identifier*': cannot be a template definition
1212
1313
The compiler could not process the syntax used in the template definition.
1414

docs/error-messages/compiler-errors-2/compiler-errors-c2900-through-c3499.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The articles in this section of the documentation explain a subset of the error
113113
| [Compiler error C2995](compiler-error-c2995.md) | '*declaration*': function template has already been defined |
114114
| [Compiler error C2996](compiler-error-c2996.md) | '*function*': recursive function template definition |
115115
| Compiler error C2997 | '*function*': array bound cannot be deduced from a default member initializer |
116-
| [Compiler error C2998](compiler-error-c2998.md) | '*declarator*': cannot be a template definition |
116+
| [Compiler error C2998](compiler-error-c2998.md) | '*identifier*': cannot be a template definition |
117117

118118
## See also
119119

0 commit comments

Comments
 (0)