diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-08-28 10:49:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 10:49:31 -0700 |
| commit | 31fef6f1103ea64a899729adea13b0ab9b66cb46 (patch) | |
| tree | 31c13b06483af84cd0977be8de00d3539e3e3c4d /test/cases/compile_errors/invalid_pointer_arithmetic.zig | |
| parent | 9a12905a2da045b0948f612583b526bca3a1b2f0 (diff) | |
| parent | aaa7e739831f39151a37c7beb08660f0fb6ae0ed (diff) | |
| download | zig-31fef6f1103ea64a899729adea13b0ab9b66cb46.tar.gz zig-31fef6f1103ea64a899729adea13b0ab9b66cb46.zip | |
Merge pull request #21225 from mlugg/std-builtin-type
std: update `std.builtin.Type` fields to follow naming conventions
Diffstat (limited to 'test/cases/compile_errors/invalid_pointer_arithmetic.zig')
| -rw-r--r-- | test/cases/compile_errors/invalid_pointer_arithmetic.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/compile_errors/invalid_pointer_arithmetic.zig b/test/cases/compile_errors/invalid_pointer_arithmetic.zig index 436a339204..94a5a2099c 100644 --- a/test/cases/compile_errors/invalid_pointer_arithmetic.zig +++ b/test/cases/compile_errors/invalid_pointer_arithmetic.zig @@ -45,7 +45,7 @@ comptime { // :2:11: note: pointer-integer arithmetic only supports addition and subtraction // :6:11: error: invalid pointer-pointer arithmetic operator // :6:11: note: pointer-pointer arithmetic only supports subtraction -// :12:11: error: invalid operands to binary expression: 'Pointer' and 'Pointer' +// :12:11: error: invalid operands to binary expression: 'pointer' and 'pointer' // :20:11: error: incompatible pointer arithmetic operands '[*]u8' and '[*]u16' // :26:11: error: incompatible pointer arithmetic operands '*u8' and '*u16' // :31:11: error: pointer arithmetic requires element type 'u0' to have runtime bits |
