mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Make the goto_through_format test actually fail :(
This commit is contained in:
parent
4a99ef5c39
commit
c80dc0ad3a
1 changed files with 3 additions and 0 deletions
|
@ -689,11 +689,13 @@ mod tests {
|
|||
fo<|>o();
|
||||
}
|
||||
}
|
||||
mod confuse_index { fn foo(); }
|
||||
",
|
||||
"foo FN_DEF FileId(1) [52; 63) [55; 58)",
|
||||
);
|
||||
}
|
||||
|
||||
#[should_panic] // currently failing because of expr mapping problems
|
||||
#[test]
|
||||
fn goto_through_format() {
|
||||
check_goto(
|
||||
|
@ -711,6 +713,7 @@ mod tests {
|
|||
}
|
||||
pub mod __export {
|
||||
pub use crate::format_args;
|
||||
fn foo() {} // for index confusion
|
||||
}
|
||||
fn foo() -> i8 {}
|
||||
fn test() {
|
||||
|
|
Loading…
Reference in a new issue