bors 232e55515f Auto merge of #17660 - ObsidianMinor:fix/17645, r=Veykril
Fix more path resolution for included submodules

Now with more comprehensive testing! This adds tests for includes within modules. Previous testing was not comprehensive enough since submodules that use `include!` didn't actually work either! The `ModDir` used for resolving mods relative to included files has to be `ModDir::root()`. The original test just so happened to put the submodules in the root which made this work, but if you put the `include!` inside a `mod` block it didn't work.

With this change, when collecting a macro expansion, if the macro call is an `include!`, we use the `ModDir::root()` instead of the current module we're in.
2024-07-22 07:00:54 +00:00
..
2024-07-19 18:38:08 +02:00
2024-07-21 14:50:44 +02:00
2024-07-21 14:50:44 +02:00
2024-07-07 08:40:41 +02:00
2024-07-11 20:06:05 +03:00
2024-07-16 10:11:59 +02:00