未验证 提交 e9793927 编写于 作者: D Dylan DPC 提交者: GitHub

Rollup merge of #73610 - GuillaumeGomez:cleanup-e0699, r=Dylan-DPC

Clean up E0699 explanation

r? @Dylan-DPC
A method was called on a raw pointer whose inner type wasn't completely known.
For example, you may have done something like:
Erroneous code example:
```compile_fail
```compile_fail,edition2018,E0699
# #![deny(warnings)]
# fn main() {
let foo = &1;
let bar = foo as *const _;
if bar.is_null() {
// ...
}
# }
```
Here, the type of `bar` isn't known; it could be a pointer to anything. Instead,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册