diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-20 10:25:13 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-20 15:53:06 +0000 |
| commit | 958a02247a8c4c1375220bdcf7098b1e848e28bf (patch) | |
| tree | 6c6910de3227c4eb197533bdde70036968d52cf8 /compiler/rustc_error_codes/src | |
| parent | 200e3f7995e231535fdea3be9cb9a3f098b4c856 (diff) | |
| download | rust-958a02247a8c4c1375220bdcf7098b1e848e28bf.tar.gz rust-958a02247a8c4c1375220bdcf7098b1e848e28bf.zip | |
Use the more informative generic type inference failure error on method calls on raw pointers
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0699.md | 4 | ||||
| -rw-r--r-- | compiler/rustc_error_codes/src/lib.rs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0699.md b/compiler/rustc_error_codes/src/error_codes/E0699.md index 454d2507e5e..1094ebf4b8f 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0699.md +++ b/compiler/rustc_error_codes/src/error_codes/E0699.md @@ -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; diff --git a/compiler/rustc_error_codes/src/lib.rs b/compiler/rustc_error_codes/src/lib.rs index da688e385aa..f4a33a05c1b 100644 --- a/compiler/rustc_error_codes/src/lib.rs +++ b/compiler/rustc_error_codes/src/lib.rs @@ -441,7 +441,7 @@ E0695: 0695, E0696: 0696, E0697: 0697, E0698: 0698, -E0699: 0699, +E0699: 0699, // REMOVED: merged into generic inference var error E0700: 0700, E0701: 0701, E0703: 0703, |
