Skip to content

Commit 1483156

Browse files
committed
Auto merge of #86270 - Shadlock0133:patch-1, r=jackh726
Fix typo `with custom a custom` -> `with a custom`
2 parents f586d79 + dab89b5 commit 1483156

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0493.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static FOO: Foo = Foo { field1: (DropType::A, DropType::A).1 }; // error!
2121
The problem here is that if the given type or one of its fields implements the
2222
`Drop` trait, this `Drop` implementation cannot be called within a const
2323
context since it may run arbitrary, non-const-checked code. To prevent this
24-
issue, ensure all values with custom a custom `Drop` implementation escape the
24+
issue, ensure all values with a custom `Drop` implementation escape the
2525
initializer.
2626

2727
```

0 commit comments

Comments
 (0)