diff options
| author | xackus <14938807+xackus@users.noreply.github.com> | 2020-11-15 11:53:23 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2020-11-18 12:57:49 +0200 |
| commit | 27b73cc3958a5960691fd020551012bb6e3108d5 (patch) | |
| tree | ce2e03a93624ed057b266aa1286915efdd7a0e61 /lib/std | |
| parent | 39336fd2e9b7e471c3971b10adb91b5fd647c946 (diff) | |
| download | zig-27b73cc3958a5960691fd020551012bb6e3108d5.tar.gz zig-27b73cc3958a5960691fd020551012bb6e3108d5.zip | |
std: make meta.IntType a compile error
the function signature changed
also update langref
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/meta.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 4e03e1e60f..8b0f9a2738 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -675,8 +675,7 @@ pub fn declList(comptime Namespace: type, comptime Decl: type) []const *const De } } -/// Deprecated: use Int -pub const IntType = Int; +pub const IntType = @compileError("replaced by std.meta.Int"); pub const Signedness = enum { unsigned, |
