diff options
| author | Shadlock0133 <tomek-kubel2@wp.pl> | 2021-06-13 21:21:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 21:21:45 +0200 |
| commit | dab89b51ace2adff9d8e006d8b76516a48c47a2e (patch) | |
| tree | 02694ac26a4724b90480b39c4bb7ad3a3d8d581e /compiler/rustc_error_codes/src | |
| parent | fb3ea63d9b4c3e9bb90d4250b870faaffb9c8fd2 (diff) | |
| download | rust-dab89b51ace2adff9d8e006d8b76516a48c47a2e.tar.gz rust-dab89b51ace2adff9d8e006d8b76516a48c47a2e.zip | |
Fix typo `with custom a custom` -> `with a custom`
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -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. ``` |
