Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,13 +0,0 @@
|
|||
macro_rules! foo {
|
||||
($id: ident) => {
|
||||
$id
|
||||
}
|
||||
}
|
||||
|
||||
// Testing that the error span points to the parameter 'x' in the callsite,
|
||||
// not to the macro variable '$id'
|
||||
fn main() {
|
||||
foo!(
|
||||
x //~ ERROR cannot find value `x` in this scope
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue