Skip to content

Commit 2d998d1

Browse files
author
Brian Caswell
committed
remove lifetime workaround now that this is fixed
The underlying issue was fixed in rust 1.69.0. Our minimum supported rust is now 1.70.0 (set in azure_core), which means this workaround is no longer needed. Ref: rust-lang/rust#63033
1 parent 46881d6 commit 2d998d1

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

sdk/identity/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ log = "0.4"
2525
async-trait = "0.1"
2626
openssl = { version = "0.10.46", optional=true }
2727
uuid = { version = "1.0", features = ["v4"] }
28-
# work around https://github.com/rust-lang/rust/issues/63033
29-
fix-hidden-lifetime-bug = "0.2"
3028
pin-project = "1.0"
3129

3230
[dev-dependencies]

sdk/identity/src/client_credentials_flow/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ use std::sync::Arc;
4848
use url::{form_urlencoded, Url};
4949

5050
/// Perform the client credentials flow
51-
#[allow(clippy::manual_async_fn)]
52-
#[fix_hidden_lifetime_bug::fix_hidden_lifetime_bug]
5351
pub async fn perform(
5452
http_client: Arc<dyn HttpClient>,
5553
client_id: &str,

sdk/identity/src/federated_credentials_flow/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ use std::sync::Arc;
4848
use url::{form_urlencoded, Url};
4949

5050
/// Perform the client credentials flow
51-
#[allow(clippy::manual_async_fn)]
52-
#[fix_hidden_lifetime_bug::fix_hidden_lifetime_bug]
5351
pub async fn perform(
5452
http_client: Arc<dyn HttpClient>,
5553
client_id: &str,

sdk/identity/src/refresh_token.rs

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ use std::sync::Arc;
1313
use url::{form_urlencoded, Url};
1414

1515
/// Exchange a refresh token for a new access token and refresh token
16-
#[allow(clippy::manual_async_fn)]
17-
#[fix_hidden_lifetime_bug::fix_hidden_lifetime_bug]
1816
pub async fn exchange(
1917
http_client: Arc<dyn HttpClient>,
2018
tenant_id: &str,

0 commit comments

Comments
 (0)