We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf12aa4 commit 7c45b9fCopy full SHA for 7c45b9f
src/tools/tidy/src/ui_tests.rs
@@ -18,7 +18,7 @@ const ENTRY_LIMIT: usize = 900;
18
// FIXME: The following limits should be reduced eventually.
19
20
const ISSUES_ENTRY_LIMIT: usize = 1750;
21
-const ROOT_ENTRY_LIMIT: usize = 859;
+const ROOT_ENTRY_LIMIT: usize = 860;
22
23
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
24
"rs", // test source files
tests/ui/warnings/no-explicit-path-issue-122509.rs
@@ -0,0 +1,23 @@
1
+//@ build-pass
2
+//@ compile-flags: -C codegen-units=2 --emit asm
3
+
4
+fn one() -> usize {
5
+ 1
6
+}
7
8
+pub mod a {
9
+ pub fn two() -> usize {
10
+ ::one() + ::one()
11
+ }
12
13
14
+pub mod b {
15
+ pub fn three() -> usize {
16
+ ::one() + ::a::two()
17
+fn main() {
+ a::two();
+ b::three();
0 commit comments