1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Bump rustc to 1.65

This commit is contained in:
Quentin Gliech
2022-11-03 15:47:38 +01:00
parent a414936484
commit eeb442b6d0
4 changed files with 5 additions and 5 deletions

View File

@ -88,8 +88,8 @@ jobs:
- name: Install toolchain
run: |
rustup toolchain install 1.64.0
rustup default 1.64.0
rustup toolchain install 1.65.0
rustup default 1.65.0
rustup component add clippy
- name: Install Protoc

View File

@ -12,7 +12,7 @@
# The Debian version and version name must be in sync
ARG DEBIAN_VERSION=11
ARG DEBIAN_VERSION_NAME=bullseye
ARG RUSTC_VERSION=1.64.0
ARG RUSTC_VERSION=1.65.0
ARG ZIG_VERSION=0.9.1
ARG NODEJS_VERSION=18
ARG OPA_VERSION=0.45.0

View File

@ -101,7 +101,7 @@ pub async fn get(
let (_clock, mut rng) = crate::rng_and_clock()?;
let mut conn = pool.acquire().await?;
let session = user_authorization.protected(&mut *conn).await?;
let session = user_authorization.protected(&mut conn).await?;
let user = session.browser_session.user;
let mut user_info = UserInfo {

View File

@ -56,7 +56,7 @@ impl File {
#[tracing::instrument(skip_all, fields(url))]
async fn load<T: EnumEntry>(mut self) -> anyhow::Result<Self> {
tracing::Span::current().record("url", &T::URL);
tracing::Span::current().record("url", T::URL);
self.sections.extend(T::sections());
for (key, value) in T::fetch(&self.client).await? {
self.items.entry(key).or_default().push(value);