about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMax Heller <max.a.heller@gmail.com>2023-08-05 08:14:44 -0400
committerMax Heller <max.a.heller@gmail.com>2023-08-05 08:14:44 -0400
commit5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0 (patch)
treebc82256716285cc8cdc26a38e3df36e692cb48a2
parentee39905370c84085335276b49c04d58399cb3697 (diff)
downloadrust-5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0.tar.gz
rust-5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0.zip
remove unnecessary branch
-rw-r--r--crates/ide-completion/src/context/analysis.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide-completion/src/context/analysis.rs b/crates/ide-completion/src/context/analysis.rs
index 4bd429c5723..8de4d0827f9 100644
--- a/crates/ide-completion/src/context/analysis.rs
+++ b/crates/ide-completion/src/context/analysis.rs
@@ -848,7 +848,6 @@ fn classify_name_ref(
                 ast::TypeBound(_) => TypeLocation::TypeBound,
                 // is this case needed?
                 ast::TypeBoundList(_) => TypeLocation::TypeBound,
-                ast::TypeArg(it) => generic_arg_location(ast::GenericArg::TypeArg(it)),
                 ast::GenericArg(it) => generic_arg_location(it),
                 // is this case needed?
                 ast::GenericArgList(it) => {