3079bd96b9
With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
13 lines
403 B
Rust
13 lines
403 B
Rust
fn main() {
|
|
// foo must be used.
|
|
foo();
|
|
}
|
|
|
|
// For this test to operate correctly, foo's body must start on exactly the same
|
|
// line and column and have the exact same length in bytes in a.rs and b.rs. In
|
|
// a.rs, the body must end on a line number which does not exist in b.rs.
|
|
// Basically, avoid modifying this file, including adding or removing whitespace!
|
|
fn foo() {
|
|
assert_eq!(1, 1);
|
|
}
|