Skip to content

Commit bf359c6

Browse files
chore: backport 8157a3f
1 parent 391cd3e commit bf359c6

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/config/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,9 @@ mod test {
481481

482482
#[test]
483483
fn test_valid_license_template_path() {
484+
if !crate::is_nightly_channel!() {
485+
return;
486+
}
484487
let toml = r#"license_template_path = "tests/license-template/lt.txt""#;
485488
let config = Config::from_toml(toml, Path::new("")).unwrap();
486489
assert!(config.license_template.is_some());

tests/config/issue-3779.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
unstable_features = true
21
ignore = [
32
"tests/**/issue-3779/ice.rs"
43
]

tests/source/issue-3779/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// rustfmt-unstable: true
12
// rustfmt-config: issue-3779.toml
23

34
#[path = "ice.rs"]

tests/target/issue-3779/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// rustfmt-unstable: true
12
// rustfmt-config: issue-3779.toml
23

34
#[path = "ice.rs"]

0 commit comments

Comments
 (0)