You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
editor or extension: VSCode (rust-analyzer version 0.3.2379)
problem: When hovering over default_value_t, I receive an error message saying Request textDocument/hover failed. Here is the output of the error. errmsg.txt
dependencies:
[dependencies]
clap = {version="4.5.36", features = ["derive"]}
tokio = { version = "1", features = ["full"] }
code snippet to reproduce:
use clap::{Parser,ValueEnum};/// Supported audio formats for yt-dlp#[derive(Copy,Clone,Debug,ValueEnum)]pubenumAudioFormat{Mp3,Wav,M4a,Flac,Aac,Ogg,Opus,}#[derive(Parser,Debug)]#[command( name = "Playlist Downloader", about = "Easily download playlists from YouTube or Musi")]pubstructCli{/// Set the audio format (e.g., mp3, m4a, flac, wav)#[arg(long = "audio-format", value_enum, default_value_t = AudioFormat::Mp3, help = "Convert audio to the given format")]pubaudio_format:AudioFormat,}
The text was updated successfully, but these errors were encountered:
rust-analyzer version: ust-analyzer version: 0.3.2379-standalone (8365cf8 2025-04-13)
rustc version: rustc 1.86.0 (05f9846f8 2025-03-31)
editor or extension: VSCode (rust-analyzer version 0.3.2379)
problem: When hovering over
default_value_t
, I receive an error message sayingRequest textDocument/hover failed
. Here is the output of the error. errmsg.txtdependencies:
code snippet to reproduce:
The text was updated successfully, but these errors were encountered: