Skip to content

Commit 93293c5

Browse files
committed
fmt
1 parent e1dd8a9 commit 93293c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustc/traits/error_reporting.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3038,9 +3038,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
30383038
ObligationCauseCode::TrivialBound => {
30393039
err.help("see issue #48214");
30403040
if tcx.sess.opts.unstable_features.is_nightly_build() {
3041-
err.help(
3042-
"add `#![feature(trivial_bounds)]` to the crate attributes to enable",
3043-
);
3041+
err.help("add `#![feature(trivial_bounds)]` to the crate attributes to enable");
30443042
}
30453043
}
30463044
ObligationCauseCode::AssocTypeBound(ref data) => {

0 commit comments

Comments
 (0)