Use the more informative generic type inference failure error on method calls on raw pointers
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
A method was called on a raw pointer whose inner type wasn't completely known.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,edition2018,E0699
|
||||
```compile_fail,edition2018
|
||||
# #![deny(warnings)]
|
||||
# fn main() {
|
||||
let foo = &1;
|
||||
|
||||
Reference in New Issue
Block a user