1 error[E0277]: the trait bound `A: Deref` is not satisfied
2 --> $DIR/issue-25901.rs:4:24
4 LL | static S: &'static B = &A;
5 | ^^ the trait `~const Deref` is not implemented for `A`
7 note: the trait `Deref` is implemented for `A`, but that implementation is not `const`
8 --> $DIR/issue-25901.rs:4:24
10 LL | static S: &'static B = &A;
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.