mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
add #[cfg(test)]
This commit is contained in:
parent
77eaa208ed
commit
66d15bb2da
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ impl CrateGraph {
|
|||
}
|
||||
|
||||
|
||||
mod test {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::{CrateGraph, FxHashMap, FileId, SmolStr};
|
||||
#[test]
|
||||
#[should_panic]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue