[tint] Remove pointless virtual overrides from IncompleteType

These are implemented exactly the same by the base class

Change-Id: I5683d4c0e0c71ddc8684cef96b6f5bd8cc4791f8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/181362
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/lang/wgsl/resolver/incomplete_type.cc b/src/tint/lang/wgsl/resolver/incomplete_type.cc
index 7f81517..47e2e67 100644
--- a/src/tint/lang/wgsl/resolver/incomplete_type.cc
+++ b/src/tint/lang/wgsl/resolver/incomplete_type.cc
@@ -54,14 +54,6 @@
     return nullptr;
 }
 
-core::type::TypeAndCount IncompleteType::Elements(const Type*, uint32_t) const {
-    return {};
-}
-
-const core::type::Type* IncompleteType::Element(uint32_t) const {
-    return nullptr;
-}
-
 bool IncompleteType::Equals(const core::type::UniqueNode& other) const {
     if (auto* o = other.As<IncompleteType>()) {
         return o->builtin == builtin;
diff --git a/src/tint/lang/wgsl/resolver/incomplete_type.h b/src/tint/lang/wgsl/resolver/incomplete_type.h
index c363773..8ba8baf 100644
--- a/src/tint/lang/wgsl/resolver/incomplete_type.h
+++ b/src/tint/lang/wgsl/resolver/incomplete_type.h
@@ -67,13 +67,6 @@
     /// @copydoc core::type::Type::Clone
     core::type::Type* Clone(core::type::CloneContext& ctx) const override;
 
-    /// @copydoc core::type::Type::Elements
-    core::type::TypeAndCount Elements(const Type* type_if_invalid = nullptr,
-                                      uint32_t count_if_invalid = 0) const override;
-
-    /// @copydoc core::type::Type::Element
-    const Type* Element(uint32_t index) const override;
-
     /// @copydoc core::type::UniqueNode::Equals
     bool Equals(const UniqueNode& other) const override;
 };