- simplify some examples - add macrotest for expanding/snapshotting macro expansion & add tests - add workaround to enable referencing relative dirs from macrotest files - ensure workaround doesn't get built in release - add trybuild for testing error messages & add tests - fix indeterministic macro output - sort routes after collecting - use BTreeMap instead of HashMap to preserve insertion order - fix compile_error syntax error
7 lines
451 B
Text
7 lines
451 B
Text
error: No route.rs files found in the specified directory: 'some/non/existing/directory'. Make sure the path is correct and contains route.rs files.
|
|
--> tests/failures/no_files.rs:6:1
|
|
|
|
|
6 | #[folder_router("some/non/existing/directory", AppState)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in the attribute macro `folder_router` (in Nightly builds, run with -Z macro-backtrace for more info)
|