Nilstrieb
0346765100
Bless run-make tests
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Esteban Küber
2cca435717
Mention the syntax for use
on mod foo;
if foo
doesn't exist
...
Newcomers might get confused that `mod` is the only way of defining
scopes, and that it can be used as if it were `use`.
Fix #69492 .
2023-10-21 15:56:01 +00:00
Martin Nordholts
d9a7afec8b
tests/run-make: Use RUSTC_TEST_OP in more places
2023-10-07 08:30:40 +02:00
Martin Nordholts
f96541e9a9
tests/run-make: Remove wrong blessing advice
...
run-make tests are not special but can be blessed like other tests, like
this:
./x.py test --bless tests/run-make/unknown-mod-stdin
2023-10-07 08:27:05 +02:00
Martin Nordholts
392bfc6bd3
tests/run-make/unknown-mod-stdin: Ignore Windows
...
The test fails on Windows with the diff
- = help: to create the module `unknown`, create file "unknown.rs" or "unknown/mod.rs"
+ = help: to create the module `unknown`, create file "unknown.rs" or "unknown\mod.rs"
There is no need to run this test on Windows, so ignore it.
2023-08-01 06:09:12 +02:00
Martin Nordholts
86433e6ed1
Add regression test for echo 'mod unknown;' | rustc -
2023-07-26 14:58:12 +02:00