Skip to content

Commit 878f5e1

Browse files
authored
Add blockquotes for error messages in range [C3481, C3530]
1 parent 53eea62 commit 878f5e1

24 files changed

+24
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 5d09375a-5ed3-4b61-86ed-45e91fd734c7
88
---
99
# Compiler Error C3481
1010

11-
'var': lambda capture variable not found
11+
> 'var': lambda capture variable not found
1212
1313
The compiler could not find the definition of a variable that you passed to the capture list of a lambda expression.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: bf99558e-bef4-421c-bb16-dcd9c54c1011
88
---
99
# Compiler Error C3482
1010

11-
'this' can only be used as a lambda capture within a non-static member function
11+
> 'this' can only be used as a lambda capture within a non-static member function
1212
1313
You cannot pass **`this`** to the capture list of a lambda expression that is declared in a static method or a global function.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 18b3a2c5-dfc9-4661-9653-08a5798474cf
88
---
99
# Compiler Error C3483
1010

11-
'var' is already part of the lambda capture list
11+
> 'var' is already part of the lambda capture list
1212
1313
You passed the same variable to the capture list of a lambda expression more than one time.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2fe847fa-f6ee-4978-bc1d-b6dc6ae906ac
88
---
99
# Compiler Error C3484
1010

11-
expected '->' before the return type
11+
> expected '->' before the return type
1212
1313
You must provide `->` before the return type of a lambda expression.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 39bda474-4418-4a79-98bf-2b22fa92eaaa
88
---
99
# Compiler Error C3487
1010

11-
'return type': all return expressions must deduce to the same type: previously it was 'return type'
11+
> 'return type': all return expressions must deduce to the same type: previously it was 'return type'
1212
1313
A lambda must specify its return type unless it contains a single return statement. If a lambda contains multiple return statements, they must all have the same type.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0a6fcd76-dd3b-48d7-abb3-22eccda96034
88
---
99
# Compiler Error C3488
1010

11-
'var' is not allowed when the default capture mode is by-reference
11+
> 'var' is not allowed when the default capture mode is by-reference
1212
1313
When you specify that the default capture mode for a lambda expression is by-reference, you cannot pass a variable by reference to the capture clause of that expression.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 47b58d69-459d-4499-abc7-5f0b9303d773
88
---
99
# Compiler Error C3489
1010

11-
'var' is required when the default capture mode is by-value
11+
> 'var' is required when the default capture mode is by-value
1212
1313
When you specify that the default capture mode for a lambda expression is by-value, you cannot pass a variable by value to the capture clause of that expression.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7638559a-fd06-4527-a9c1-0c8ae68b3123
88
---
99
# Compiler Error C3490
1010

11-
'var' cannot be modified because it is being accessed through a const object
11+
> 'var' cannot be modified because it is being accessed through a const object
1212
1313
A lambda expression that is declared in a **`const`** method cannot modify non-mutable member data.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7f0e71b2-46a0-4d25-bd09-6158a280f509
88
---
99
# Compiler Error C3491
1010

11-
'var': a by-value capture cannot be modified in a non-mutable lambda
11+
> 'var': a by-value capture cannot be modified in a non-mutable lambda
1212
1313
A non-mutable lambda expression cannot modify the value of a variable that is captured by value.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: b1dc6342-9133-4b1f-a9c3-e8c65d20d121
88
---
99
# Compiler Error C3492
1010

11-
'var': you cannot capture a member of an anonymous union
11+
> 'var': you cannot capture a member of an anonymous union
1212
1313
You cannot capture a member of an unnamed union.
1414

0 commit comments

Comments
 (0)