This repository was archived by the owner on Oct 14, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- use super :: StarlarkParser ;
15
+ use syntax :: grammar :: StarlarkParser ;
16
16
use std:: sync:: { Arc , Mutex } ;
17
17
use syntax:: ast:: Statement ;
18
18
use syntax:: dialect:: Dialect ;
Original file line number Diff line number Diff line change @@ -30,15 +30,16 @@ pub mod lexer;
30
30
#[ allow( clippy:: all) ]
31
31
mod grammar {
32
32
include ! ( concat!( env!( "OUT_DIR" ) , "/syntax/grammar.rs" ) ) ;
33
- // TODO(damienmg): there doesn't seem to have a way to reactivate default
34
- // clippy warning / errors only for the tests...
35
- #[ cfg( test) ]
36
- mod tests {
37
- include ! ( concat!(
38
- env!( "CARGO_MANIFEST_DIR" ) ,
39
- "/src/syntax/grammar.tests.rs"
40
- ) ) ;
41
- }
33
+ }
34
+
35
+ // TODO(damienmg): there doesn't seem to have a way to reactivate default
36
+ // clippy warning / errors only for the tests...
37
+ #[ cfg( test) ]
38
+ mod grammar_tests {
39
+ include ! ( concat!(
40
+ env!( "CARGO_MANIFEST_DIR" ) ,
41
+ "/src/syntax/grammar.tests.rs"
42
+ ) ) ;
42
43
}
43
44
44
45
#[ doc( hidden) ]
You can’t perform that action at this time.
0 commit comments