public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] remove unused class
@ 2022-06-29 10:27 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-29 10:27 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:64832f0c5dd60eae3539e2fe73d72c78fbb22d46
commit 64832f0c5dd60eae3539e2fe73d72c78fbb22d46
Author: Philip Herron <philip.herron@embecosm.com>
Date: Tue Jun 28 10:40:21 2022 +0100
remove unused class
Diff:
---
gcc/rust/resolve/rust-ast-resolve-type.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/gcc/rust/resolve/rust-ast-resolve-type.h b/gcc/rust/resolve/rust-ast-resolve-type.h
index b16799f2af2..f7e17b01fe6 100644
--- a/gcc/rust/resolve/rust-ast-resolve-type.h
+++ b/gcc/rust/resolve/rust-ast-resolve-type.h
@@ -194,21 +194,6 @@ private:
CanonicalPath *canonical_path;
};
-class ResolvePathSegmentToCanonicalPath
-{
-public:
- static CanonicalPath resolve (AST::PathExprSegment &seg)
- {
- if (!seg.has_generic_args ())
- return CanonicalPath::new_seg (seg.get_node_id (),
- seg.get_ident_segment ().as_string ());
-
- ResolveType::type_resolve_generic_args (seg.get_generic_args ());
- return CanonicalPath::new_seg (seg.get_node_id (),
- seg.get_ident_segment ().as_string ());
- }
-};
-
class ResolveTypeBound : public ResolverBase
{
using Rust::Resolver::ResolverBase::visit;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-29 10:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 10:27 [gcc/devel/rust/master] remove unused class Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).