Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fmt
  • Loading branch information
estebank committed Jan 16, 2020
1 parent e1dd8a9 commit 93293c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/librustc/traits/error_reporting.rs
Expand Up @@ -3038,9 +3038,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
ObligationCauseCode::TrivialBound => {
err.help("see issue #48214");
if tcx.sess.opts.unstable_features.is_nightly_build() {
err.help(
"add `#![feature(trivial_bounds)]` to the crate attributes to enable",
);
err.help("add `#![feature(trivial_bounds)]` to the crate attributes to enable");
}
}
ObligationCauseCode::AssocTypeBound(ref data) => {
Expand Down

0 comments on commit 93293c5

Please sign in to comment.