From 394f52b46dd240b6b71d4a8d9a90abf6437bfe43 Mon Sep 17 00:00:00 2001 From: Scott Carda Date: Thu, 5 Dec 2024 11:28:37 -0800 Subject: [PATCH] updated runtime capabilities list in hover --- language_service/src/hover.rs | 2 +- language_service/src/hover/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/language_service/src/hover.rs b/language_service/src/hover.rs index 6f9fc57405..6c0a824bd1 100644 --- a/language_service/src/hover.rs +++ b/language_service/src/hover.rs @@ -55,7 +55,7 @@ impl<'a> Handler<'a> for HoverGenerator<'a> { let description = match name.name.as_ref() { "Config" => "Provides pre-processing information about when an item should be included in compilation. -Valid arguments are `Adaptive`, `IntegerComputations`, `FloatingPointComputations`, `BackwardsBranching`, `HigherLevelConstructs`, and `QubitReset`. +Valid arguments are `Base`, `Adaptive`, `IntegerComputations`, `FloatingPointComputations`, `BackwardsBranching`, `HigherLevelConstructs`, `QubitReset`, and `Unrestricted`. The `not` operator is also supported to negate the attribute, e.g. `not Adaptive`.", "EntryPoint" => "Indicates that a callable is an entry point to a program.", diff --git a/language_service/src/hover/tests.rs b/language_service/src/hover/tests.rs index f8e9ae8e7a..670950c22c 100644 --- a/language_service/src/hover/tests.rs +++ b/language_service/src/hover/tests.rs @@ -73,7 +73,7 @@ fn attr_with_arg() { Provides pre-processing information about when an item should be included in compilation. - Valid arguments are `Adaptive`, `IntegerComputations`, `FloatingPointComputations`, `BackwardsBranching`, `HigherLevelConstructs`, and `QubitReset`. + Valid arguments are `Base`, `Adaptive`, `IntegerComputations`, `FloatingPointComputations`, `BackwardsBranching`, `HigherLevelConstructs`, `QubitReset`, and `Unrestricted`. The `not` operator is also supported to negate the attribute, e.g. `not Adaptive`."#]], );