diff options
| author | Ralf Jung <post@ralfj.de> | 2020-10-28 08:57:57 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-11-20 10:58:31 +0100 |
| commit | af309cc2d93ce1e8e57cedffbfc35f9df040376a (patch) | |
| tree | 9be42fd4bbf10583b60e30f1479296ad9dbb1621 /compiler/rustc_middle/src/mir/query.rs | |
| parent | 63bdb3ac0948683fe7548680d3b78bb5d8b32076 (diff) | |
| download | rust-af309cc2d93ce1e8e57cedffbfc35f9df040376a.tar.gz rust-af309cc2d93ce1e8e57cedffbfc35f9df040376a.zip | |
needs -> might need
Diffstat (limited to 'compiler/rustc_middle/src/mir/query.rs')
| -rw-r--r-- | compiler/rustc_middle/src/mir/query.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/query.rs b/compiler/rustc_middle/src/mir/query.rs index 03faef4d9fa..89a93096f1c 100644 --- a/compiler/rustc_middle/src/mir/query.rs +++ b/compiler/rustc_middle/src/mir/query.rs @@ -95,7 +95,7 @@ impl UnsafetyViolationDetails { and cause data races: all of these are undefined behavior", ), AssignToDroppingUnionField => ( - "assignment to union field that needs dropping", + "assignment to union field that might need dropping", "the previous content of the field will be dropped, which causes undefined \ behavior if the field was not properly initialized", ), |
