diff options
| author | bors <bors@rust-lang.org> | 2021-06-13 22:42:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-13 22:42:02 +0000 |
| commit | 14831568d506b5ee7be3e7d5a2f029ce9048b609 (patch) | |
| tree | e2db7d84fca255402705e777b3f57ec2d95195d7 | |
| parent | f586d79d183d144e0cbf519e29247f36670e2076 (diff) | |
| parent | dab89b51ace2adff9d8e006d8b76516a48c47a2e (diff) | |
| download | rust-14831568d506b5ee7be3e7d5a2f029ce9048b609.tar.gz rust-14831568d506b5ee7be3e7d5a2f029ce9048b609.zip | |
Auto merge of #86270 - Shadlock0133:patch-1, r=jackh726
Fix typo `with custom a custom` -> `with a custom`
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0493.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0493.md b/compiler/rustc_error_codes/src/error_codes/E0493.md index 0dcc3b62b4b..e891129efa0 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0493.md +++ b/compiler/rustc_error_codes/src/error_codes/E0493.md @@ -21,7 +21,7 @@ static FOO: Foo = Foo { field1: (DropType::A, DropType::A).1 }; // error! The problem here is that if the given type or one of its fields implements the `Drop` trait, this `Drop` implementation cannot be called within a const context since it may run arbitrary, non-const-checked code. To prevent this -issue, ensure all values with custom a custom `Drop` implementation escape the +issue, ensure all values with a custom `Drop` implementation escape the initializer. ``` |
