mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-26 22:56:03 +00:00
Support for trybuild
and similar macro testing tools (#168)
Signed-off-by: Filippo Costa <filippo@neysofu.me>
This commit is contained in:
parent
44b6087283
commit
67c46e7159
9 changed files with 138 additions and 2 deletions
5
tests/tests/trybuild/fail_to_compile.stderr
Normal file
5
tests/tests/trybuild/fail_to_compile.stderr
Normal file
|
@ -0,0 +1,5 @@
|
|||
error[E0599]: no method named `foobar` found for reference `&'static str` in the current scope
|
||||
--> tests/trybuild/fail_to_compile.rs:2:14
|
||||
|
|
||||
2 | "foobar".foobar();
|
||||
| ^^^^^^ method not found in `&str`
|
Loading…
Add table
Add a link
Reference in a new issue